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.001446/0.001447, allocations: 114.9 kB / 18.46 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.00182/0.00182, allocations: 210.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2183/0.2183, allocations: 46.1 MB / 345 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.89 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3118, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01044/0.3223, allocations: 8.652 MB / 0.5401 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006883/0.3292, allocations: 3.459 MB / 0.5435 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001624/0.3309, allocations: 45.47 kB / 0.5435 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003015/0.3339, allocations: 1.369 MB / 0.5449 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.3365, allocations: 0.9105 MB / 0.5458 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.3378, allocations: 0.5161 MB / 0.5463 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002798/0.3406, allocations: 1.729 MB / 0.548 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001869/0.3425, allocations: 1.651 MB / 0.5496 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001211/0.3437, allocations: 0.6582 MB / 0.5502 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.345, allocations: 0.8957 MB / 0.5511 GB, free: 13.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003292/0.3454, allocations: 136 kB / 0.5512 GB, free: 13.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.3465, allocations: 0.5656 MB / 0.5518 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007702/0.3473, allocations: 0.7325 MB / 0.5525 GB, free: 12.35 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001026/0.3483, allocations: 0.8275 MB / 0.5533 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.351, allocations: 2.47 MB / 0.5557 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.351, allocations: 0 / 0.5557 GB, free: 9.039 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.351, allocations: 0 / 0.5557 GB, free: 9.039 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.908e-05/0.3511, allocations: 0 / 0.5557 GB, free: 9.039 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.003929/0.355, allocations: 1.998 MB / 0.5577 GB, free: 6.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.3551, allocations: 8.031 kB / 0.5577 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.3562, allocations: 262.5 kB / 0.5579 GB, free: 6.719 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.3579, allocations: 1.055 MB / 0.5589 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.41e-05/0.358, allocations: 106.6 kB / 0.559 GB, free: 5.512 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.3582, allocations: 127.8 kB / 0.5592 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005104/0.3633, allocations: 2.996 MB / 0.5621 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.43e-05/0.3634, allocations: 15.84 kB / 0.5621 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001296/0.3635, allocations: 55.98 kB / 0.5622 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000578/0.3641, allocations: 438 kB / 0.5626 GB, free: 1.695 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004528/0.3687, allocations: 2.175 MB / 0.5647 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01185/0.3805, allocations: 10.7 MB / 0.5751 GB, free: 4.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.3843, allocations: 1.248 MB / 0.5764 GB, free: 3.273 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005621/0.3849, allocations: 407.2 kB / 0.5768 GB, free: 2.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003717/0.3886, allocations: 3.084 MB / 0.5798 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.3887, allocations: 39 kB / 0.5798 GB, free: 15.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.945e-06/0.3887, allocations: 0 / 0.5798 GB, free: 15.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01127/0.3999, allocations: 3.795 MB / 0.5835 GB, free: 11.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.4, allocations: 81.67 kB / 0.5836 GB, free: 11.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00175/0.4018, allocations: 1.181 MB / 0.5847 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.4018, allocations: 45.62 kB / 0.5848 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.4026, allocations: 0.9278 MB / 0.5857 GB, free: 9.273 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.4027, allocations: 217.1 kB / 0.5859 GB, free: 9.059 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003567/0.4031, allocations: 315.2 kB / 0.5862 GB, free: 8.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4032, allocations: 301.1 kB / 0.5865 GB, free: 8.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006459/0.4039, allocations: 423.7 kB / 0.5869 GB, free: 8.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.4054, allocations: 1.258 MB / 0.5881 GB, free: 6.363 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003208/0.4086, allocations: 1.822 MB / 0.5899 GB, free: 4.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.67e-05/0.4086, allocations: 8 kB / 0.5899 GB, free: 4.121 MB / 446.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.004277/0.4129, allocations: 1.734 MB / 0.5916 GB, free: 2.375 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.969e-05/0.413, allocations: 20 kB / 0.5916 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.934e-05/0.4131, allocations: 36.16 kB / 0.5917 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/0.4133, allocations: 84.81 kB / 0.5917 GB, free: 2.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001803/0.4152, allocations: 359.3 kB / 0.5921 GB, free: 1.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.4175, allocations: 1.877 MB / 0.5939 GB, free: 15.86 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.4191, allocations: 71.89 kB / 0.594 GB, free: 15.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001709/0.4192, allocations: 91.98 kB / 0.5941 GB, free: 15.7 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.001329/0.4206, allocations: 0.6439 MB / 0.5947 GB, free: 15.05 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002435/0.4208, allocations: 110.6 kB / 0.5948 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003543/0.4212, allocations: 135.3 kB / 0.5949 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.4212, allocations: 3.984 kB / 0.5949 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4212, allocations: 0 / 0.5949 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/0.4216, allocations: 171.7 kB / 0.5951 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001871/0.4218, allocations: 12 kB / 0.5951 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000608/0.4224, allocations: 24.11 kB / 0.5951 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001123/0.4225, allocations: 44.44 kB / 0.5952 GB, free: 14.53 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002076/0.4246, allocations: 0.7376 MB / 0.5959 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002304/0.4269, allocations: 1.104 MB / 0.597 GB, free: 12.66 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006002/0.4275, allocations: 264.3 kB / 0.5972 GB, free: 12.41 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.4291, allocations: 0.7515 MB / 0.598 GB, free: 11.65 MB / 462.1 MB Notification: Performance of Backend: time 2.856e-06/0.4291, allocations: 96 / 0.598 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003324/0.4325, allocations: 1.107 MB / 0.599 GB, free: 10.53 MB / 462.1 MB Notification: Performance of SimCode: time 0.007044/0.4395, allocations: 3.212 MB / 0.6022 GB, free: 7.262 MB / 462.1 MB Notification: Performance of Templates: time 0.03743/0.477, allocations: 13.55 MB / 0.6154 GB, free: 9.77 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