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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001912/0.001912, allocations: 111.6 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002467/0.002467, allocations: 215.9 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.412/2.412, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4312/0.4312, allocations: 46.09 MB / 345 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 79.81 kB / 482 MB, free: 4.094 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5654/0.5678, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01714/0.585, allocations: 8.63 MB / 0.5401 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.5974, allocations: 3.471 MB / 0.5435 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.5996, allocations: 44.84 kB / 0.5435 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003048/0.6027, allocations: 1.361 MB / 0.5449 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003036/0.6058, allocations: 0.9289 MB / 0.5458 GB, free: 2.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.607, allocations: 0.5245 MB / 0.5463 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.6097, allocations: 1.731 MB / 0.548 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001872/0.6116, allocations: 1.654 MB / 0.5496 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001069/0.6127, allocations: 0.6542 MB / 0.5502 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.614, allocations: 0.8918 MB / 0.5511 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.6143, allocations: 144 kB / 0.5512 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6154, allocations: 0.5734 MB / 0.5518 GB, free: 13.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006962/0.6161, allocations: 0.7248 MB / 0.5525 GB, free: 12.32 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.6169, allocations: 0.8315 MB / 0.5533 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.6196, allocations: 2.472 MB / 0.5557 GB, free: 9.008 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.6196, allocations: 4 kB / 0.5557 GB, free: 9.004 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6196, allocations: 0 / 0.5557 GB, free: 9.004 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.371e-05/0.6197, allocations: 0 / 0.5557 GB, free: 9.004 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.003407/0.6231, allocations: 2.042 MB / 0.5577 GB, free: 6.902 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6231, allocations: 8.031 kB / 0.5577 GB, free: 6.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.6242, allocations: 279.5 kB / 0.558 GB, free: 6.621 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.6259, allocations: 1.06 MB / 0.559 GB, free: 5.516 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.76e-05/0.626, allocations: 98.52 kB / 0.5591 GB, free: 5.418 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001828/0.6262, allocations: 135.9 kB / 0.5593 GB, free: 5.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004909/0.6311, allocations: 2.992 MB / 0.5622 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.421e-05/0.6312, allocations: 15.86 kB / 0.5622 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.6313, allocations: 59.97 kB / 0.5623 GB, free: 2.023 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005537/0.6319, allocations: 434 kB / 0.5627 GB, free: 1.598 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004402/0.6363, allocations: 2.175 MB / 0.5648 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.6479, allocations: 10.71 MB / 0.5753 GB, free: 4.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/0.652, allocations: 1.246 MB / 0.5765 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.6531, allocations: 411.2 kB / 0.5769 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008419/0.6616, allocations: 3.088 MB / 0.5799 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.208e-05/0.6617, allocations: 35 kB / 0.5799 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 5.891e-06/0.6617, allocations: 0 / 0.5799 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.02329/0.685, allocations: 3.821 MB / 0.5836 GB, free: 11.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6852, allocations: 85.67 kB / 0.5837 GB, free: 11.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.6876, allocations: 1.189 MB / 0.5849 GB, free: 10.12 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/0.6877, allocations: 33.7 kB / 0.5849 GB, free: 10.08 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.6888, allocations: 0.9741 MB / 0.5859 GB, free: 9.098 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002757/0.6891, allocations: 222.3 kB / 0.5861 GB, free: 8.879 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006266/0.6897, allocations: 319.3 kB / 0.5864 GB, free: 8.559 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6899, allocations: 301.1 kB / 0.5867 GB, free: 8.262 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/0.691, allocations: 423.7 kB / 0.5871 GB, free: 7.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/0.6931, allocations: 1.266 MB / 0.5883 GB, free: 6.172 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/0.6973, allocations: 1.81 MB / 0.5901 GB, free: 3.949 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-05/0.6974, allocations: 8 kB / 0.5901 GB, free: 3.941 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.005604/0.703, allocations: 1.742 MB / 0.5918 GB, free: 2.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.7031, allocations: 19.98 kB / 0.5918 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.569e-05/0.7032, allocations: 32 kB / 0.5918 GB, free: 2.137 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004018/0.7036, allocations: 84.83 kB / 0.5919 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.7059, allocations: 359.9 kB / 0.5923 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.709, allocations: 1.881 MB / 0.5941 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002072/0.7111, allocations: 67.97 kB / 0.5942 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002168/0.7113, allocations: 88 kB / 0.5943 GB, free: 15.52 MB / 462.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.001797/0.7132, allocations: 0.6478 MB / 0.5949 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003229/0.7135, allocations: 115.2 kB / 0.595 GB, free: 14.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000455/0.714, allocations: 139.4 kB / 0.5951 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.714, allocations: 3.984 kB / 0.5951 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.714, allocations: 0 / 0.5951 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004198/0.7145, allocations: 180.3 kB / 0.5953 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.7147, allocations: 12 kB / 0.5953 GB, free: 14.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000767/0.7155, allocations: 23.97 kB / 0.5953 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.7156, allocations: 36.45 kB / 0.5954 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002962/0.7186, allocations: 0.7337 MB / 0.5961 GB, free: 13.6 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003041/0.7217, allocations: 1.124 MB / 0.5972 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008077/0.7225, allocations: 256.3 kB / 0.5974 GB, free: 12.21 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002017/0.7246, allocations: 0.7554 MB / 0.5982 GB, free: 11.45 MB / 462.1 MB Notification: Performance of Backend: time 1.192e-06/0.7246, allocations: 0 / 0.5982 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004749/0.7293, allocations: 1.107 MB / 0.5993 GB, free: 10.33 MB / 462.1 MB Notification: Performance of SimCode: time 0.008759/0.7381, allocations: 3.27 MB / 0.6024 GB, free: 7 MB / 462.1 MB Notification: Performance of Templates: time 0.0493/0.7875, allocations: 13.4 MB / 0.6155 GB, free: 9.656 MB / 478.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches