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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001474/0.001474, allocations: 111.9 kB / 17.09 MB, free: 5.953 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.00162/0.00162, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.431/1.431, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.2089/0.2089, allocations: 43.53 MB / 314.8 MB, free: 440 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.001622/0.001622, allocations: 73.92 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1115, allocations: 57.79 MB / 0.4886 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01023/0.1218, allocations: 8.683 MB / 0.497 GB, free: 3.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006577/0.1284, allocations: 3.441 MB / 0.5004 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001079/0.1295, allocations: 47.88 kB / 0.5005 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002935/0.1325, allocations: 1.382 MB / 0.5018 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002172/0.1347, allocations: 0.9573 MB / 0.5027 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001003/0.1357, allocations: 0.5147 MB / 0.5032 GB, free: 12.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002049/0.1378, allocations: 1.702 MB / 0.5049 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002063/0.1399, allocations: 1.678 MB / 0.5065 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.141, allocations: 0.6698 MB / 0.5072 GB, free: 8.578 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.1424, allocations: 0.8957 MB / 0.5081 GB, free: 7.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003615/0.1428, allocations: 140 kB / 0.5082 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001264/0.144, allocations: 0.6007 MB / 0.5088 GB, free: 6.941 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008842/0.1449, allocations: 0.7404 MB / 0.5095 GB, free: 6.199 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009073/0.1458, allocations: 0.8315 MB / 0.5103 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.1486, allocations: 2.502 MB / 0.5128 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1486, allocations: 0 / 0.5128 GB, free: 2.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1486, allocations: 3.938 kB / 0.5128 GB, free: 2.848 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.078e-05/0.1486, allocations: 0 / 0.5128 GB, free: 2.848 MB / 398.1 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.003366/0.152, allocations: 2.062 MB / 0.5148 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.152, allocations: 11.89 kB / 0.5148 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.153, allocations: 275.6 kB / 0.5151 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001842/0.1549, allocations: 1.147 MB / 0.5162 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.58e-05/0.155, allocations: 96.89 kB / 0.5163 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.1552, allocations: 120 kB / 0.5164 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00508/0.1603, allocations: 2.992 MB / 0.5193 GB, free: 11.86 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.732e-05/0.1604, allocations: 11.89 kB / 0.5193 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/0.1605, allocations: 55.97 kB / 0.5194 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006212/0.1611, allocations: 438 kB / 0.5198 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004776/0.1659, allocations: 2.163 MB / 0.5219 GB, free: 9.188 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2377/0.4036, allocations: 10.72 MB / 0.5324 GB, free: 33.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004008/0.4077, allocations: 1.224 MB / 0.5336 GB, free: 33.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006442/0.4084, allocations: 405.6 kB / 0.5339 GB, free: 33.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003763/0.4121, allocations: 3.005 MB / 0.5369 GB, free: 32.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.4122, allocations: 36.95 kB / 0.5369 GB, free: 32.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=51): time 2.655e-06/0.4122, allocations: 0.6562 kB / 0.5369 GB, free: 32.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=57): time 0.01101/0.4232, allocations: 3.798 MB / 0.5406 GB, free: 31.31 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/0.4233, allocations: 84.3 kB / 0.5407 GB, free: 31.21 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.4249, allocations: 1.201 MB / 0.5419 GB, free: 31.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.4249, allocations: 36.36 kB / 0.5419 GB, free: 31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000476/0.4254, allocations: 0.9713 MB / 0.5429 GB, free: 30.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.4255, allocations: 229.1 kB / 0.5431 GB, free: 30.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004045/0.4259, allocations: 318 kB / 0.5434 GB, free: 30.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.426, allocations: 310.6 kB / 0.5437 GB, free: 29.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.4268, allocations: 416.5 kB / 0.5441 GB, free: 29.62 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001004/0.4278, allocations: 1.26 MB / 0.5453 GB, free: 28.38 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001659/0.4295, allocations: 1.801 MB / 0.5471 GB, free: 26.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-05/0.4295, allocations: 8.531 kB / 0.5471 GB, free: 26.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002538/0.4321, allocations: 1.736 MB / 0.5488 GB, free: 26.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.129e-05/0.4321, allocations: 17.36 kB / 0.5488 GB, free: 26.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/0.4322, allocations: 29.78 kB / 0.5488 GB, free: 26.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002116/0.4324, allocations: 92.2 kB / 0.5489 GB, free: 26.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.4334, allocations: 358.7 kB / 0.5492 GB, free: 26.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.4347, allocations: 1.883 MB / 0.5511 GB, free: 24.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.4356, allocations: 68.77 kB / 0.5512 GB, free: 24.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.4357, allocations: 89.19 kB / 0.5512 GB, free: 24.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (194): * Single equations (assignments): 193 * Array equations: 0 * 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.0008036/0.4365, allocations: 0.6412 MB / 0.5519 GB, free: 24.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001433/0.4367, allocations: 125.5 kB / 0.552 GB, free: 23.96 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.4378, allocations: 0.7173 MB / 0.5527 GB, free: 23.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4378, allocations: 3.094 kB / 0.5527 GB, free: 23.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.4378, allocations: 1.25 kB / 0.5527 GB, free: 23.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.4381, allocations: 219.9 kB / 0.5529 GB, free: 23.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.4382, allocations: 12.22 kB / 0.5529 GB, free: 23.47 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.4386, allocations: 24.19 kB / 0.5529 GB, free: 23.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.4386, allocations: 40.11 kB / 0.553 GB, free: 23.45 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001249/0.4399, allocations: 0.72 MB / 0.5537 GB, free: 23.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001281/0.4412, allocations: 1.106 MB / 0.5548 GB, free: 22.58 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003617/0.4416, allocations: 252.7 kB / 0.555 GB, free: 22.49 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009597/0.4425, allocations: 0.7753 MB / 0.5558 GB, free: 22.19 MB / 414.1 MB Notification: Performance of Backend: time 9.92e-07/0.4426, allocations: 0 / 0.5558 GB, free: 22.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002289/0.4448, allocations: 1.105 MB / 0.5568 GB, free: 21.72 MB / 414.1 MB Notification: Performance of SimCode: time 0.004211/0.4491, allocations: 3.287 MB / 0.56 GB, free: 19.89 MB / 414.1 MB Notification: Performance of Templates: time 0.02207/0.4712, allocations: 13.57 MB / 0.5733 GB, free: 9.961 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches