Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001022/0.001023, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.241/1.241, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009636/0.0009635, allocations: 93.2 kB / 297.3 MB, free: 6.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3126/0.3126, allocations: 45.22 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002591, allocations: 8 kB / 468.4 MB, free: 7.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3488, allocations: 63.25 MB / 0.5192 GB, free: 43.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4783, allocations: 107.3 MB / 0.624 GB, free: 14.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002335/0.4786, allocations: 83.95 kB / 0.6241 GB, free: 14.17 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09366/0.5723, allocations: 35.82 MB / 0.6591 GB, free: 10.28 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.5723, allocations: 0 / 0.6591 GB, free: 10.28 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001042/0.5724, allocations: 35.98 kB / 0.6591 GB, free: 10.24 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004493/0.5769, allocations: 1.826 MB / 0.6609 GB, free: 8.359 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.577, allocations: 8.031 kB / 0.6609 GB, free: 8.352 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00202/0.579, allocations: 409.3 kB / 0.6613 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005729/0.5847, allocations: 2.303 MB / 0.6635 GB, free: 5.602 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.923e-05/0.5849, allocations: 110.9 kB / 0.6636 GB, free: 5.492 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004172/0.5853, allocations: 144 kB / 0.6638 GB, free: 5.352 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006128/0.5914, allocations: 3.048 MB / 0.6668 GB, free: 2.078 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.27e-05/0.5915, allocations: 19.84 kB / 0.6668 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002057/0.5917, allocations: 67.98 kB / 0.6668 GB, free: 1.992 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004283/0.5922, allocations: 278.1 kB / 0.6671 GB, free: 1.719 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004628/0.5968, allocations: 2.226 MB / 0.6693 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0129/0.6097, allocations: 11.56 MB / 0.6806 GB, free: 3.617 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003481/0.6132, allocations: 1.212 MB / 0.6818 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003866/0.6171, allocations: 3.024 MB / 0.6847 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.6172, allocations: 35 kB / 0.6847 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=51): time 2.275e-06/0.6172, allocations: 0 / 0.6847 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=57): time 0.01026/0.6275, allocations: 3.737 MB / 0.6884 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.6275, allocations: 81.67 kB / 0.6885 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.6291, allocations: 1.059 MB / 0.6895 GB, free: 10.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.6291, allocations: 37.7 kB / 0.6895 GB, free: 10 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006124/0.6297, allocations: 0.9394 MB / 0.6905 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.6299, allocations: 213.2 kB / 0.6907 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.63, allocations: 32 kB / 0.6907 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6301, allocations: 373.9 kB / 0.691 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006051/0.6307, allocations: 411.7 kB / 0.6914 GB, free: 8.035 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.6318, allocations: 1.244 MB / 0.6927 GB, free: 6.371 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008995/0.6327, allocations: 0.672 MB / 0.6933 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/0.6328, allocations: 12 kB / 0.6933 GB, free: 5.691 MB / 0.4948 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00249/0.6352, allocations: 1.699 MB / 0.695 GB, free: 3.98 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.6353, allocations: 20 kB / 0.695 GB, free: 3.961 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-05/0.6353, allocations: 40.83 kB / 0.695 GB, free: 3.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.6355, allocations: 96.83 kB / 0.6951 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.6366, allocations: 363.3 kB / 0.6955 GB, free: 3.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.638, allocations: 1.705 MB / 0.6971 GB, free: 1.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008554/0.6388, allocations: 67.98 kB / 0.6972 GB, free: 1.559 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.639, allocations: 88 kB / 0.6973 GB, free: 1.473 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008903/0.6399, allocations: 0.6401 MB / 0.6979 GB, free: 0.8203 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.64, allocations: 122.5 kB / 0.698 GB, free: 0.6992 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.228/0.8681, allocations: 0.6993 MB / 0.6987 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.8681, allocations: 6.938 kB / 0.6987 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.8681, allocations: 3.75 kB / 0.6987 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.857e-05/0.8681, allocations: 3.875 kB / 0.6987 GB, free: 117.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004805/0.873, allocations: 2.263 MB / 0.7009 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.873, allocations: 4.844 kB / 0.7009 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.8734, allocations: 104.2 kB / 0.701 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/0.8736, allocations: 64.08 kB / 0.7011 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.947e-05/0.8736, allocations: 16.28 kB / 0.7011 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.875, allocations: 1.765 MB / 0.7028 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/0.8751, allocations: 6.844 kB / 0.7029 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.8766, allocations: 1.309 MB / 0.7041 GB, free: 115.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.877, allocations: 182.8 kB / 0.7043 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001872/0.8772, allocations: 13.62 kB / 0.7043 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/0.8776, allocations: 28.94 kB / 0.7043 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.332e-05/0.8777, allocations: 54.39 kB / 0.7044 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.8777, allocations: 20.03 kB / 0.7044 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001291/0.879, allocations: 0.7592 MB / 0.7052 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.11e-07/0.8791, allocations: 0 / 0.7052 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001579/0.8806, allocations: 311.2 kB / 0.7055 GB, free: 115.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000268/0.8809, allocations: 135.3 kB / 0.7056 GB, free: 115 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002073/0.883, allocations: 1.081 MB / 0.7066 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.883, allocations: 1.031 kB / 0.7066 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.8836, allocations: 410.7 kB / 0.707 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.8844, allocations: 167.8 kB / 0.7072 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00452/0.889, allocations: 3.368 MB / 0.7105 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009562/0.8899, allocations: 1.48 MB / 0.7119 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009584/0.8909, allocations: 413.5 kB / 0.7123 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.891, allocations: 78.42 kB / 0.7124 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.473e-06/0.891, allocations: 2.5 kB / 0.7124 GB, free: 112.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.01676/0.9078, allocations: 9.725 MB / 0.7219 GB, free: 112 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches