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.001869/0.001869, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.001962/0.001962, allocations: 156.8 kB / 24.27 MB, free: 152 kB / 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 1.694/1.694, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.3643/0.3643, allocations: 34.25 MB / 295.2 MB, free: 0.6367 MB / 266.7 MB " [Timeout remaining time 179] 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 2.023e-06/2.023e-06, allocations: 0 / 377.2 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.151e-05/4.353e-05, allocations: 10.25 kB / 377.2 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02164/0.02168, allocations: 8.318 MB / 385.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01236/0.03404, allocations: 3.405 MB / 388.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.03521, allocations: 51.75 kB / 389 MB, free: 7.051 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003223/0.03844, allocations: 1.464 MB / 390.5 MB, free: 5.582 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002738/0.04117, allocations: 0.9682 MB / 391.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.04247, allocations: 0.5652 MB / 392 MB, free: 4.043 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002953/0.04543, allocations: 2.057 MB / 394.1 MB, free: 1.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.04757, allocations: 1.549 MB / 395.6 MB, free: 396 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.04922, allocations: 1.025 MB / 396.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.05095, allocations: 1.009 MB / 397.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002705/0.05122, allocations: 148 kB / 397.8 MB, free: 14.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.0524, allocations: 0.5693 MB / 398.3 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008871/0.05329, allocations: 0.7871 MB / 399.1 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007463/0.05403, allocations: 0.5376 MB / 399.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.05764, allocations: 2.563 MB / 402.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.05765, allocations: 0 / 402.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.05765, allocations: 0 / 402.2 MB, free: 9.734 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.5e-05/0.05769, allocations: 0 / 402.2 MB, free: 9.734 MB / 378.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.004714/0.0624, allocations: 2.303 MB / 404.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.06244, allocations: 8.031 kB / 404.5 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.06391, allocations: 419.5 kB / 405 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/0.06607, allocations: 0.9392 MB / 405.9 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.706e-05/0.06616, allocations: 94.83 kB / 406 MB, free: 5.902 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002192/0.06638, allocations: 128.3 kB / 406.1 MB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005108/0.07149, allocations: 2.173 MB / 408.3 MB, free: 3.332 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.009e-05/0.07154, allocations: 11.89 kB / 408.3 MB, free: 3.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.07168, allocations: 55.97 kB / 408.4 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007184/0.0724, allocations: 434 kB / 408.8 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003948/0.07635, allocations: 1.066 MB / 409.8 MB, free: 1.766 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/0.09293, allocations: 12.62 MB / 422.5 MB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/0.09683, allocations: 1.001 MB / 423.5 MB, free: 3.785 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.09728, allocations: 221.3 kB / 423.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003846/0.1011, allocations: 1.833 MB / 425.5 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.422e-05/0.1012, allocations: 49.81 kB / 425.6 MB, free: 1.645 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.354e-06/0.1012, allocations: 0 / 425.6 MB, free: 1.645 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.01184/0.113, allocations: 3.079 MB / 428.6 MB, free: 14.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/0.1131, allocations: 81.61 kB / 428.7 MB, free: 14.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/0.115, allocations: 1.352 MB / 430.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.431e-05/0.1151, allocations: 33.7 kB / 430.1 MB, free: 13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.1161, allocations: 1.098 MB / 431.2 MB, free: 11.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.1164, allocations: 242.2 kB / 431.4 MB, free: 11.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000553/0.1169, allocations: 396.9 kB / 431.8 MB, free: 11.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003441/0.1173, allocations: 0.559 MB / 432.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/0.1177, allocations: 183.9 kB / 432.6 MB, free: 10.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.1195, allocations: 1.482 MB / 434 MB, free: 8.445 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.1218, allocations: 1.799 MB / 435.8 MB, free: 6.078 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.495e-05/0.1218, allocations: 8 kB / 435.9 MB, free: 6.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.002649/0.1245, allocations: 1.348 MB / 437.2 MB, free: 4.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.1245, allocations: 20 kB / 437.2 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.572e-05/0.1245, allocations: 28 kB / 437.2 MB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002847/0.1248, allocations: 79.66 kB / 437.3 MB, free: 4.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/0.1261, allocations: 359.3 kB / 437.7 MB, free: 4.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.1282, allocations: 2.177 MB / 439.9 MB, free: 1.934 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.1293, allocations: 95.92 kB / 439.9 MB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.1294, allocations: 84 kB / 440 MB, free: 1.758 MB / 410.7 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.0006469/0.1301, allocations: 322.5 kB / 440.3 MB, free: 1.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003391/0.1304, allocations: 127.3 kB / 440.5 MB, free: 1.305 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.1307, allocations: 118.6 kB / 440.6 MB, free: 1.188 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1307, allocations: 7.938 kB / 440.6 MB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.1307, allocations: 4.188 kB / 440.6 MB, free: 1.176 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.1307, allocations: 3.984 kB / 440.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1783/0.309, allocations: 2.083 MB / 442.7 MB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.309, allocations: 2.938 kB / 442.7 MB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.3093, allocations: 97.7 kB / 442.8 MB, free: 98.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.3095, allocations: 55.98 kB / 442.8 MB, free: 98.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.3096, allocations: 13.22 kB / 442.8 MB, free: 98.53 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.3108, allocations: 2.22 MB / 445.1 MB, free: 96.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.3108, allocations: 12.88 kB / 445.1 MB, free: 96.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3119, allocations: 0.8712 MB / 446 MB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.3122, allocations: 108.5 kB / 446.1 MB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3123, allocations: 19.86 kB / 446.1 MB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/0.3127, allocations: 38.81 kB / 446.1 MB, free: 96.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.3128, allocations: 54.91 kB / 446.2 MB, free: 96.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.617e-05/0.3128, allocations: 21.94 kB / 446.2 MB, free: 96.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007698/0.3136, allocations: 0.6567 MB / 446.8 MB, free: 96.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3136, allocations: 0 / 446.8 MB, free: 96.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001511/0.3151, allocations: 348.3 kB / 447.2 MB, free: 96.04 MB / 410.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.0002972/0.3154, allocations: 138.5 kB / 447.3 MB, free: 95.94 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.3168, allocations: 0.9462 MB / 448.3 MB, free: 95.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.3168, allocations: 0 / 448.3 MB, free: 95.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004356/0.3173, allocations: 407.3 kB / 448.7 MB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009022/0.3182, allocations: 174.6 kB / 448.8 MB, free: 95.45 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.3216, allocations: 2.545 MB / 451.4 MB, free: 94.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007555/0.3224, allocations: 0.7942 MB / 452.2 MB, free: 94.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007662/0.3231, allocations: 357 kB / 452.5 MB, free: 94.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.3233, allocations: 76.97 kB / 452.6 MB, free: 94.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/0.3233, allocations: 0 / 452.6 MB, free: 94.07 MB / 410.7 MB Notification: Performance of Templates: time 0.01948/0.3428, allocations: 10.58 MB / 463.2 MB, free: 92.97 MB / 410.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.811412104056217]