Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 111.4 kB / 17.09 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 195.3 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2035/0.2035, allocations: 43.52 MB / 314.8 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 75.88 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1127, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01265/0.1254, allocations: 12.65 MB / 0.5009 GB, free: 15.08 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008089/0.1335, allocations: 3.895 MB / 0.5047 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.1358, allocations: 67.81 kB / 0.5048 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003103/0.139, allocations: 1.323 MB / 0.5061 GB, free: 9.777 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004631/0.1436, allocations: 1.825 MB / 0.5079 GB, free: 7.945 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1449, allocations: 431.2 kB / 0.5083 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005184/0.1501, allocations: 3.653 MB / 0.5118 GB, free: 3.859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003141/0.1532, allocations: 2.044 MB / 0.5138 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.1555, allocations: 1.245 MB / 0.515 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.1586, allocations: 1.767 MB / 0.5168 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009549/0.1596, allocations: 251.9 kB / 0.517 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.1619, allocations: 0.8191 MB / 0.5178 GB, free: 13.68 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002158/0.1641, allocations: 1.624 MB / 0.5194 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003207/0.1673, allocations: 1.941 MB / 0.5213 GB, free: 10.1 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00955/0.1769, allocations: 6.285 MB / 0.5274 GB, free: 3.789 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/0.1769, allocations: 0 / 0.5274 GB, free: 3.789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1769, allocations: 0 / 0.5274 GB, free: 3.789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002769/0.1772, allocations: 0 / 0.5274 GB, free: 3.789 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.2229/0.4002, allocations: 4.265 MB / 0.5316 GB, free: 37.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.4002, allocations: 12.7 kB / 0.5316 GB, free: 37.37 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/0.4107, allocations: 3.1 MB / 0.5346 GB, free: 37.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00377/0.4145, allocations: 1.993 MB / 0.5366 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.4146, allocations: 195.7 kB / 0.5368 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004954/0.4151, allocations: 257.4 kB / 0.537 GB, free: 36.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01435/0.4295, allocations: 10.39 MB / 0.5472 GB, free: 32.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.4e-05/0.4296, allocations: 27.7 kB / 0.5472 GB, free: 32.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003331/0.4299, allocations: 126 kB / 0.5473 GB, free: 32.92 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003718/0.4336, allocations: 2.561 MB / 0.5498 GB, free: 32.46 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01531/0.449, allocations: 9.453 MB / 0.559 GB, free: 26.41 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03682/0.4858, allocations: 32.31 MB / 0.5906 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006049/0.4919, allocations: 3.376 MB / 0.5939 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.4936, allocations: 1.077 MB / 0.595 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001276/0.4949, allocations: 1.312 MB / 0.5962 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.495, allocations: 43.88 kB / 0.5963 GB, free: 3.234 MB / 430.1 MB Notification: Performance of pre-optimization done (n=187): time 4.989e-06/0.495, allocations: 0 / 0.5963 GB, free: 3.234 MB / 430.1 MB Notification: Performance of matching and sorting (n=193): time 0.02107/0.5161, allocations: 9.893 MB / 0.6059 GB, free: 9.305 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.5162, allocations: 94.42 kB / 0.606 GB, free: 9.191 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003731/0.5199, allocations: 2.665 MB / 0.6086 GB, free: 6.508 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.763e-05/0.52, allocations: 53.7 kB / 0.6087 GB, free: 6.449 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.5218, allocations: 2.861 MB / 0.6115 GB, free: 3.559 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006142/0.5225, allocations: 0.7441 MB / 0.6122 GB, free: 2.809 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001206/0.5237, allocations: 0.993 MB / 0.6132 GB, free: 1.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5238, allocations: 301.1 kB / 0.6135 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.5261, allocations: 1.571 MB / 0.615 GB, free: 15.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004312/0.5304, allocations: 4.481 MB / 0.6194 GB, free: 10 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007751/0.5382, allocations: 6.688 MB / 0.6259 GB, free: 1.883 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.914e-05/0.5383, allocations: 35.75 kB / 0.6259 GB, free: 1.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=661) (initialization): time 0.01029/0.5486, allocations: 5.965 MB / 0.6318 GB, free: 11.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001058/0.5487, allocations: 48.94 kB / 0.6318 GB, free: 11.82 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/0.5489, allocations: 104.8 kB / 0.6319 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005052/0.5494, allocations: 188.8 kB / 0.6321 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003528/0.5529, allocations: 1.096 MB / 0.6332 GB, free: 10.43 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.5549, allocations: 1.802 MB / 0.6349 GB, free: 8.492 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003097/0.558, allocations: 215.9 kB / 0.6351 GB, free: 8.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000599/0.5586, allocations: 292 kB / 0.6354 GB, free: 7.996 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (609): * Single equations (assignments): 602 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003534/0.5621, allocations: 2.04 MB / 0.6374 GB, free: 5.945 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005012/0.5627, allocations: 270.2 kB / 0.6376 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004101/0.5668, allocations: 2.53 MB / 0.6401 GB, free: 3.125 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.5668, allocations: 3.984 kB / 0.6401 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.5668, allocations: 0 / 0.6401 GB, free: 3.121 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/0.5681, allocations: 0.5031 MB / 0.6406 GB, free: 2.598 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004486/0.5685, allocations: 33.3 kB / 0.6406 GB, free: 2.566 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007012/0.5693, allocations: 55.94 kB / 0.6407 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/0.5695, allocations: 77.2 kB / 0.6408 GB, free: 2.438 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00343/0.5729, allocations: 2.33 MB / 0.643 GB, free: 96 kB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004752/0.5777, allocations: 3.902 MB / 0.6469 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00126/0.579, allocations: 0.9869 MB / 0.6478 GB, free: 11.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002795/0.5818, allocations: 1.624 MB / 0.6494 GB, free: 9.559 MB / 494.1 MB Notification: Performance of Backend: time 8.82e-07/0.5818, allocations: 4.031 kB / 0.6494 GB, free: 9.555 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006147/0.5879, allocations: 3.194 MB / 0.6525 GB, free: 6.367 MB / 494.1 MB Notification: Performance of SimCode: time 0.01437/0.6023, allocations: 8.462 MB / 0.6608 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.06312/0.6655, allocations: 31.34 MB / 0.6914 GB, free: 14.51 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches