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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 85.91 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001154, allocations: 164.9 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9381/0.9381, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1625/0.1625, allocations: 34.88 MB / 297.4 MB, free: 13.34 MB / 282.7 MB " [Timeout remaining time 180] 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=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.525e-05, allocations: 3.297 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.005614/0.005639, allocations: 8.189 MB / 388.2 MB, free: 14.51 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004406/0.01004, allocations: 3.375 MB / 391.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007216/0.01077, allocations: 51.75 kB / 391.6 MB, free: 11.07 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.01231, allocations: 1.444 MB / 393.1 MB, free: 9.625 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001394/0.0137, allocations: 0.9721 MB / 394 MB, free: 8.648 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.01442, allocations: 0.5612 MB / 394.6 MB, free: 8.086 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00138/0.0158, allocations: 2.061 MB / 396.7 MB, free: 6.023 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001025/0.01683, allocations: 1.549 MB / 398.2 MB, free: 4.434 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008664/0.01769, allocations: 1.049 MB / 399.3 MB, free: 3.383 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008445/0.01854, allocations: 0.9782 MB / 400.2 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.01868, allocations: 140 kB / 400.4 MB, free: 2.266 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006125/0.01929, allocations: 0.5694 MB / 400.9 MB, free: 1.695 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.01967, allocations: 0.7832 MB / 401.7 MB, free: 0.9102 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.02, allocations: 0.5336 MB / 402.3 MB, free: 384 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001425/0.02142, allocations: 1.729 MB / 404 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.02143, allocations: 0 / 404 MB, free: 14.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.02143, allocations: 0 / 404 MB, free: 14.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.02145, allocations: 0 / 404 MB, free: 14.64 MB / 330.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.002006/0.02345, allocations: 2.037 MB / 406 MB, free: 12.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.02349, allocations: 8.031 kB / 406 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007702/0.02426, allocations: 403.5 kB / 406.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008504/0.02511, allocations: 0.843 MB / 407.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.898e-05/0.02517, allocations: 98.83 kB / 407.4 MB, free: 11.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.0253, allocations: 128.3 kB / 407.5 MB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002043/0.02734, allocations: 1.783 MB / 409.3 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/0.02738, allocations: 19.89 kB / 409.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.882e-05/0.02746, allocations: 55.97 kB / 409.4 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003314/0.02779, allocations: 410.1 kB / 409.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.0292, allocations: 0.7417 MB / 410.5 MB, free: 7.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007048/0.03625, allocations: 11.49 MB / 422 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.03814, allocations: 0.9981 MB / 423 MB, free: 10.92 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.03832, allocations: 169.8 kB / 423.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001724/0.04004, allocations: 1.759 MB / 424.9 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.04007, allocations: 41.89 kB / 425 MB, free: 8.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 1.513e-06/0.04007, allocations: 0 / 425 MB, free: 8.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.005569/0.04564, allocations: 2.655 MB / 427.6 MB, free: 6.203 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.04568, allocations: 85.61 kB / 427.7 MB, free: 6.098 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008198/0.0465, allocations: 1.129 MB / 428.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.04653, allocations: 41.7 kB / 428.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004834/0.04701, allocations: 1.058 MB / 429.9 MB, free: 3.828 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.04715, allocations: 234.1 kB / 430.1 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002774/0.04743, allocations: 352.8 kB / 430.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.0476, allocations: 0.5393 MB / 431 MB, free: 2.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.04781, allocations: 147.9 kB / 431.2 MB, free: 2.551 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000802/0.04862, allocations: 1.456 MB / 432.6 MB, free: 0.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/0.04971, allocations: 1.727 MB / 434.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/0.04972, allocations: 12 kB / 434.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0012/0.05092, allocations: 1.251 MB / 435.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.05094, allocations: 20 kB / 435.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.05097, allocations: 32 kB / 435.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.05111, allocations: 67.67 kB / 435.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.05169, allocations: 367.3 kB / 436.1 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009728/0.05267, allocations: 2.118 MB / 438.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004809/0.05315, allocations: 63.95 kB / 438.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.17e-05/0.05321, allocations: 76 kB / 438.4 MB, free: 10.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * 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 (199): * Single equations (assignments): 198 * 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.0003012/0.05351, allocations: 294.4 kB / 438.6 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.05362, allocations: 135.2 kB / 438.8 MB, free: 9.629 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001098/0.05373, allocations: 114.8 kB / 438.9 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.05373, allocations: 8.031 kB / 438.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.05374, allocations: 7.938 kB / 438.9 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.05375, allocations: 3.984 kB / 438.9 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.05538, allocations: 1.719 MB / 440.6 MB, free: 7.664 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.05538, allocations: 4 kB / 440.6 MB, free: 7.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001878/0.05557, allocations: 99.67 kB / 440.7 MB, free: 7.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-05/0.05566, allocations: 52.11 kB / 440.8 MB, free: 7.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.05568, allocations: 15.98 kB / 440.8 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009448/0.05662, allocations: 2.131 MB / 442.9 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.05663, allocations: 7.938 kB / 442.9 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005967/0.05722, allocations: 0.7837 MB / 443.7 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.05733, allocations: 107.2 kB / 443.8 MB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.0574, allocations: 23.92 kB / 443.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002/0.0576, allocations: 16 kB / 443.9 MB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.05765, allocations: 55.8 kB / 443.9 MB, free: 4.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.05767, allocations: 16 kB / 443.9 MB, free: 4.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003875/0.05806, allocations: 0.5386 MB / 444.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.05806, allocations: 0 / 444.5 MB, free: 3.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008857/0.05894, allocations: 355.9 kB / 444.8 MB, free: 3.266 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002098/0.05915, allocations: 135.1 kB / 444.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007722/0.05992, allocations: 0.8227 MB / 445.8 MB, free: 2.293 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.05993, allocations: 4.062 kB / 445.8 MB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002582/0.06019, allocations: 369.9 kB / 446.1 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.06075, allocations: 177.3 kB / 446.3 MB, free: 1.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002651/0.0634, allocations: 2.51 MB / 448.8 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.06372, allocations: 408.2 kB / 449.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.06402, allocations: 149.7 kB / 449.4 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/0.06431, allocations: 270.1 kB / 449.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.06431, allocations: 0 / 449.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of Templates: time 0.01839/0.0827, allocations: 11.64 MB / 461.3 MB, free: 2.84 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5814198227599263]