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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 95.2 kB / 20.43 MB, free: 4.141 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 165 kB / 23.79 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.983/0.983, allocations: 158.6 MB / 185.7 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1383/0.1383, allocations: 32.36 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 3.938 kB / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.222e-05/2.434e-05, allocations: 4.281 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00623/0.006255, allocations: 8.435 MB / 356.1 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005714/0.01197, allocations: 3.394 MB / 359.5 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.013, allocations: 51.75 kB / 359.6 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.01495, allocations: 1.464 MB / 361 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001684/0.01663, allocations: 1.003 MB / 362 MB, free: 11.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000846/0.01748, allocations: 0.5729 MB / 362.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001643/0.01912, allocations: 2.008 MB / 364.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.02052, allocations: 1.561 MB / 366.2 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001478/0.022, allocations: 1.072 MB / 367.2 MB, free: 5.773 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001049/0.02305, allocations: 0.9821 MB / 368.2 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.02324, allocations: 140 kB / 368.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008156/0.02405, allocations: 0.5927 MB / 369 MB, free: 4.059 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005796/0.02463, allocations: 0.7988 MB / 369.7 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005008/0.02513, allocations: 0.5337 MB / 370.3 MB, free: 2.719 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.02696, allocations: 1.756 MB / 372 MB, free: 0.957 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.02696, allocations: 0 / 372 MB, free: 0.957 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.02696, allocations: 0 / 372 MB, free: 0.957 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.099e-05/0.02699, allocations: 4 kB / 372 MB, free: 0.9531 MB / 298.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.002882/0.02987, allocations: 2.17 MB / 374.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.02991, allocations: 8.031 kB / 374.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.03092, allocations: 419.5 kB / 374.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001232/0.03215, allocations: 0.9328 MB / 375.6 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.917e-05/0.03222, allocations: 90.83 kB / 375.7 MB, free: 13.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/0.03239, allocations: 132.3 kB / 375.8 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003213/0.0356, allocations: 2.026 MB / 377.8 MB, free: 10.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.122e-05/0.03564, allocations: 19.83 kB / 377.8 MB, free: 10.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.03576, allocations: 55.97 kB / 377.9 MB, free: 10.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004832/0.03624, allocations: 430 kB / 378.3 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002532/0.03877, allocations: 1.013 MB / 379.3 MB, free: 9.312 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009345/0.04812, allocations: 11.65 MB / 391 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002721/0.05084, allocations: 1.017 MB / 392 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.05116, allocations: 216.7 kB / 392.2 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/0.05343, allocations: 1.798 MB / 394 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.05346, allocations: 41.89 kB / 394 MB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.495e-06/0.05347, allocations: 0 / 394 MB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.008132/0.0616, allocations: 3.016 MB / 397 MB, free: 7.125 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.06165, allocations: 81.61 kB / 397.1 MB, free: 7.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/0.06285, allocations: 1.159 MB / 398.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.06288, allocations: 33.7 kB / 398.3 MB, free: 5.809 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006248/0.0635, allocations: 1.051 MB / 399.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001592/0.06366, allocations: 234.2 kB / 399.6 MB, free: 4.512 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003457/0.06401, allocations: 345 kB / 399.9 MB, free: 4.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.06419, allocations: 0.5355 MB / 400.5 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.06449, allocations: 167.9 kB / 400.6 MB, free: 3.457 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.06562, allocations: 1.464 MB / 402.1 MB, free: 1.402 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.06715, allocations: 1.774 MB / 403.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.279e-05/0.06716, allocations: 8 kB / 403.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001847/0.06901, allocations: 1.34 MB / 405.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.06904, allocations: 20 kB / 405.2 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.136e-05/0.06907, allocations: 32.84 kB / 405.3 MB, free: 13.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002104/0.06928, allocations: 83.59 kB / 405.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008613/0.07015, allocations: 363.3 kB / 405.7 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.07143, allocations: 2.145 MB / 407.9 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007764/0.0722, allocations: 99.91 kB / 408 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/0.0723, allocations: 88 kB / 408 MB, free: 10.73 MB / 346.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.0005585/0.07286, allocations: 298.5 kB / 408.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.07301, allocations: 131.2 kB / 408.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006706/0.07368, allocations: 456.5 kB / 408.9 MB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.07369, allocations: 4 kB / 408.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.07369, allocations: 0 / 408.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.0737, allocations: 7.984 kB / 408.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.07597, allocations: 1.762 MB / 410.7 MB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.07597, allocations: 4 kB / 410.7 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.07625, allocations: 99.83 kB / 410.8 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.07639, allocations: 47.66 kB / 410.8 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.07641, allocations: 16 kB / 410.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/0.07763, allocations: 2.181 MB / 413 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.07763, allocations: 4 kB / 413 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008535/0.07848, allocations: 0.8193 MB / 413.8 MB, free: 4.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002192/0.0787, allocations: 163.2 kB / 414 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.531e-05/0.0788, allocations: 16.06 kB / 414 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003379/0.07914, allocations: 51.88 kB / 414.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.0792, allocations: 39.88 kB / 414.1 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.07923, allocations: 27.92 kB / 414.1 MB, free: 4.289 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006393/0.07987, allocations: 0.6017 MB / 414.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.07987, allocations: 0 / 414.7 MB, free: 3.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001225/0.08109, allocations: 363.9 kB / 415.1 MB, free: 3.324 MB / 346.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.0002852/0.08138, allocations: 159.1 kB / 415.2 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.08319, allocations: 0.8644 MB / 416.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.0832, allocations: 0 / 416.1 MB, free: 2.285 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.08358, allocations: 383 kB / 416.5 MB, free: 1.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008077/0.08439, allocations: 168.9 kB / 416.7 MB, free: 1.723 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003071/0.08746, allocations: 2.543 MB / 419.2 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.08775, allocations: 412.2 kB / 419.6 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004792/0.08823, allocations: 357.3 kB / 419.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/0.08835, allocations: 84.48 kB / 420 MB, free: 14.2 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.08835, allocations: 0 / 420 MB, free: 14.2 MB / 362.7 MB Notification: Performance of Templates: time 0.01648/0.1048, allocations: 11.57 MB / 431.6 MB, free: 2.75 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.4686145912855864]