Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009725/0.0009726, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 82.62 kB / 261.7 MB, free: 1.684 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1984/0.1984, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.544e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1203, allocations: 58.86 MB / 477.1 MB, free: 1.641 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5538, allocations: 103.9 MB / 0.5674 GB, free: 7.746 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.5541, allocations: 81.14 kB / 0.5675 GB, free: 7.707 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0922/0.6463, allocations: 34.02 MB / 0.6007 GB, free: 10.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6464, allocations: 0 / 0.6007 GB, free: 10.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.676e-05/0.6464, allocations: 35.98 kB / 0.6007 GB, free: 10.53 MB / 410.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.003456/0.6499, allocations: 1.692 MB / 0.6024 GB, free: 8.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.65, allocations: 8.031 kB / 0.6024 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001803/0.6518, allocations: 405.5 kB / 0.6028 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007532/0.6593, allocations: 2.93 MB / 0.6056 GB, free: 6.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.777e-05/0.6594, allocations: 51.98 kB / 0.6057 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.6597, allocations: 91.11 kB / 0.6058 GB, free: 5.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002629/0.6623, allocations: 1.795 MB / 0.6075 GB, free: 4.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003181/0.6655, allocations: 2.53 MB / 0.61 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-05/0.6655, allocations: 23.78 kB / 0.61 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.6657, allocations: 4 kB / 0.61 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004442/0.6661, allocations: 279.8 kB / 0.6103 GB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01378/0.6799, allocations: 12 MB / 0.622 GB, free: 7.555 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007975/0.6807, allocations: 0.5227 MB / 0.6225 GB, free: 7.125 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000419/0.6812, allocations: 334.7 kB / 0.6228 GB, free: 6.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006453/0.6818, allocations: 0.6476 MB / 0.6235 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.6819, allocations: 46.95 kB / 0.6235 GB, free: 5.977 MB / 426.7 MB Notification: Performance of pre-optimization done (n=53): time 3.096e-06/0.6819, allocations: 0 / 0.6235 GB, free: 5.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=59): time 0.008209/0.6901, allocations: 3.076 MB / 0.6265 GB, free: 2.801 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.6902, allocations: 111.4 kB / 0.6266 GB, free: 2.668 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/0.6916, allocations: 0.9388 MB / 0.6275 GB, free: 1.715 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/0.6917, allocations: 29.7 kB / 0.6276 GB, free: 1.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/0.6923, allocations: 0.951 MB / 0.6285 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.6925, allocations: 213.1 kB / 0.6287 GB, free: 0.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.6926, allocations: 0 / 0.6287 GB, free: 0.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000255/0.6928, allocations: 426.7 kB / 0.6291 GB, free: 76 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.6933, allocations: 363.9 kB / 0.6295 GB, free: 15.72 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.6944, allocations: 1.193 MB / 0.6306 GB, free: 14.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008132/0.6953, allocations: 0.6328 MB / 0.6312 GB, free: 13.47 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.285e-05/0.6953, allocations: 8 kB / 0.6313 GB, free: 13.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002273/0.6976, allocations: 1.469 MB / 0.6327 GB, free: 11.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.6976, allocations: 16 kB / 0.6327 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.6977, allocations: 32 kB / 0.6327 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002235/0.6979, allocations: 89.55 kB / 0.6328 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.699, allocations: 367.3 kB / 0.6332 GB, free: 11.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.7005, allocations: 1.619 MB / 0.6347 GB, free: 9.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008898/0.7014, allocations: 39.89 kB / 0.6348 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.7015, allocations: 88 kB / 0.6349 GB, free: 9.621 MB / 442.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.0002377/0.7017, allocations: 203.3 kB / 0.6351 GB, free: 9.414 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001566/0.7019, allocations: 114.7 kB / 0.6352 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001139/0.703, allocations: 0.656 MB / 0.6358 GB, free: 8.629 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.7031, allocations: 4 kB / 0.6358 GB, free: 8.625 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.7031, allocations: 4 kB / 0.6358 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.7031, allocations: 3.984 kB / 0.6358 GB, free: 8.617 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003062/0.7061, allocations: 1.951 MB / 0.6377 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.261e-06/0.7062, allocations: 4 kB / 0.6377 GB, free: 6.551 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004073/0.7066, allocations: 99.88 kB / 0.6378 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.7068, allocations: 68.75 kB / 0.6379 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.7068, allocations: 4.5 kB / 0.6379 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.7084, allocations: 1.69 MB / 0.6396 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.7084, allocations: 4 kB / 0.6396 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001696/0.7101, allocations: 1.255 MB / 0.6408 GB, free: 3.16 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/0.7106, allocations: 211.7 kB / 0.641 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.96e-05/0.7107, allocations: 4 kB / 0.641 GB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003759/0.7111, allocations: 19.92 kB / 0.641 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.7112, allocations: 59.89 kB / 0.6411 GB, free: 2.852 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.53e-05/0.7113, allocations: 20 kB / 0.6411 GB, free: 2.832 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001155/0.7124, allocations: 0.6528 MB / 0.6417 GB, free: 2.172 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7124, allocations: 0 / 0.6417 GB, free: 2.172 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001954/0.7144, allocations: 264 kB / 0.642 GB, free: 1.914 MB / 442.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.0004155/0.7148, allocations: 124.3 kB / 0.6421 GB, free: 1.781 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.7169, allocations: 0.9697 MB / 0.643 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7169, allocations: 0 / 0.643 GB, free: 0.8047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004921/0.7174, allocations: 375.1 kB / 0.6434 GB, free: 440 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008227/0.7183, allocations: 145 kB / 0.6435 GB, free: 292 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/0.7223, allocations: 2.17 MB / 0.6457 GB, free: 14.03 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.7237, allocations: 1.481 MB / 0.6471 GB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001099/0.7248, allocations: 409.3 kB / 0.6475 GB, free: 12.12 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001607/0.7249, allocations: 79.42 kB / 0.6476 GB, free: 12.04 MB / 458.7 MB Notification: Performance of SimCode: time 6.31e-07/0.7249, allocations: 3.938 kB / 0.6476 GB, free: 12.04 MB / 458.7 MB Notification: Performance of Templates: time 0.0184/0.7433, allocations: 8.549 MB / 0.6559 GB, free: 3.512 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches