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.001442/0.001442, allocations: 198.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008791/0.000879, allocations: 95.95 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2117/0.2117, allocations: 45.16 MB / 383.8 MB, free: 288 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.792e-05/1.794e-05, allocations: 7.938 kB / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1011, allocations: 63.25 MB / 0.5044 GB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.396/0.4972, allocations: 106.6 MB / 0.6085 GB, free: 12.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/0.4975, allocations: 73.56 kB / 0.6086 GB, free: 12.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0939/0.5914, allocations: 35.15 MB / 0.6429 GB, free: 14.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5914, allocations: 0 / 0.6429 GB, free: 14.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001101/0.5916, allocations: 36 kB / 0.6429 GB, free: 14.14 MB / 442.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.004707/0.5963, allocations: 1.689 MB / 0.6446 GB, free: 12.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.5963, allocations: 8.031 kB / 0.6446 GB, free: 12.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/0.5986, allocations: 418.7 kB / 0.645 GB, free: 12.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006424/0.605, allocations: 2.268 MB / 0.6472 GB, free: 10.16 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.014e-05/0.6051, allocations: 51.94 kB / 0.6472 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004273/0.6056, allocations: 86.75 kB / 0.6473 GB, free: 10.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003004/0.6086, allocations: 1.792 MB / 0.6491 GB, free: 8.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003794/0.6124, allocations: 2.523 MB / 0.6515 GB, free: 6.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.341e-05/0.6125, allocations: 22.91 kB / 0.6516 GB, free: 6.711 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6126, allocations: 12 kB / 0.6516 GB, free: 6.699 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004637/0.6131, allocations: 277.1 kB / 0.6518 GB, free: 6.465 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0125/0.6256, allocations: 11.98 MB / 0.6635 GB, free: 11.68 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006863/0.6263, allocations: 0.5176 MB / 0.664 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004024/0.6267, allocations: 328.1 kB / 0.6643 GB, free: 10.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/0.6274, allocations: 0.6553 MB / 0.665 GB, free: 10.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.6274, allocations: 46.95 kB / 0.665 GB, free: 9.996 MB / 458.7 MB Notification: Performance of pre-optimization done (n=53): time 2.324e-06/0.6274, allocations: 0 / 0.665 GB, free: 9.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=59): time 0.007391/0.6348, allocations: 3.026 MB / 0.668 GB, free: 6.863 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.6349, allocations: 119.4 kB / 0.6681 GB, free: 6.719 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.636, allocations: 0.9265 MB / 0.669 GB, free: 5.777 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.343e-05/0.636, allocations: 25.7 kB / 0.669 GB, free: 5.746 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005597/0.6366, allocations: 0.9316 MB / 0.6699 GB, free: 4.797 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.6368, allocations: 224.9 kB / 0.6702 GB, free: 4.574 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.811e-05/0.6368, allocations: 0 / 0.6702 GB, free: 4.574 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.637, allocations: 426.7 kB / 0.6706 GB, free: 4.148 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/0.6375, allocations: 359.9 kB / 0.6709 GB, free: 3.797 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000922/0.6384, allocations: 1.197 MB / 0.6721 GB, free: 2.18 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.6391, allocations: 0.6251 MB / 0.6727 GB, free: 1.555 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.082e-05/0.6392, allocations: 15.98 kB / 0.6727 GB, free: 1.539 MB / 458.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.00196/0.6411, allocations: 1.465 MB / 0.6741 GB, free: 64 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.6412, allocations: 20 kB / 0.6741 GB, free: 44 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/0.6412, allocations: 28 kB / 0.6742 GB, free: 16 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002137/0.6414, allocations: 92.77 kB / 0.6743 GB, free: 15.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.6425, allocations: 364 kB / 0.6746 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.6438, allocations: 1.623 MB / 0.6762 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007791/0.6446, allocations: 35.98 kB / 0.6762 GB, free: 13.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.304e-05/0.6447, allocations: 88 kB / 0.6763 GB, free: 13.7 MB / 474.7 MB 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 () * 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.0002029/0.645, allocations: 207.2 kB / 0.6765 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.6451, allocations: 114.6 kB / 0.6766 GB, free: 13.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.6461, allocations: 0.6635 MB / 0.6773 GB, free: 12.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6461, allocations: 4 kB / 0.6773 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.6461, allocations: 0 / 0.6773 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.6462, allocations: 7.984 kB / 0.6773 GB, free: 12.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.6488, allocations: 1.955 MB / 0.6792 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.251e-06/0.6488, allocations: 4 kB / 0.6792 GB, free: 10.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.6492, allocations: 99.83 kB / 0.6793 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001626/0.6494, allocations: 68.8 kB / 0.6794 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.6494, allocations: 11.98 kB / 0.6794 GB, free: 10.44 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/0.6506, allocations: 1.666 MB / 0.681 GB, free: 8.66 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.6507, allocations: 8.062 kB / 0.681 GB, free: 8.652 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.6519, allocations: 1.252 MB / 0.6822 GB, free: 7.242 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.6521, allocations: 179.8 kB / 0.6824 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.6522, allocations: 11.98 kB / 0.6824 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003542/0.6525, allocations: 11.98 kB / 0.6824 GB, free: 7.023 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.983e-05/0.6526, allocations: 51.84 kB / 0.6825 GB, free: 6.973 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.6526, allocations: 24 kB / 0.6825 GB, free: 6.949 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000712/0.6533, allocations: 0.6446 MB / 0.6831 GB, free: 6.297 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6533, allocations: 0 / 0.6831 GB, free: 6.297 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001198/0.6545, allocations: 264 kB / 0.6834 GB, free: 6.039 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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.0001978/0.6548, allocations: 123 kB / 0.6835 GB, free: 5.906 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001234/0.656, allocations: 0.9781 MB / 0.6844 GB, free: 4.926 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.656, allocations: 0 / 0.6844 GB, free: 4.926 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004062/0.6564, allocations: 371 kB / 0.6848 GB, free: 4.555 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00068/0.6571, allocations: 147.8 kB / 0.6849 GB, free: 4.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003247/0.6604, allocations: 2.158 MB / 0.687 GB, free: 2.168 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.6616, allocations: 1.478 MB / 0.6885 GB, free: 0.6602 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001029/0.6626, allocations: 409.3 kB / 0.6889 GB, free: 264 kB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.6628, allocations: 71.44 kB / 0.6889 GB, free: 192 kB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6628, allocations: 0 / 0.6889 GB, free: 192 kB / 474.7 MB Notification: Performance of Templates: time 0.01621/0.679, allocations: 8.491 MB / 0.6972 GB, free: 7.746 MB / 490.7 MB 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