Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009568/0.0009568, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001635/0.001635, allocations: 163.6 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.027/1.027, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.275/0.275, allocations: 34.26 MB / 296 MB, free: 0.7812 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.02e-07/9.02e-07, allocations: 0 / 378 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.791e-05, allocations: 6.312 kB / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006918/0.006936, allocations: 8.365 MB / 386.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004454/0.01139, allocations: 3.393 MB / 389.8 MB, free: 7.156 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/0.0119, allocations: 55.75 kB / 389.8 MB, free: 7.102 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.01331, allocations: 1.468 MB / 391.3 MB, free: 5.629 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.01477, allocations: 0.9682 MB / 392.3 MB, free: 4.656 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.01544, allocations: 0.5613 MB / 392.8 MB, free: 4.094 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001361/0.0168, allocations: 2.061 MB / 394.9 MB, free: 2.027 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.018, allocations: 1.549 MB / 396.4 MB, free: 444 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.01906, allocations: 1.021 MB / 397.5 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009425/0.02, allocations: 1.013 MB / 398.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.02017, allocations: 140 kB / 398.6 MB, free: 14.26 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008615/0.02103, allocations: 0.5771 MB / 399.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.02152, allocations: 0.791 MB / 400 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004089/0.02193, allocations: 0.5376 MB / 400.5 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00149/0.02342, allocations: 1.74 MB / 402.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.02342, allocations: 0 / 402.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02343, allocations: 0 / 402.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.005e-05/0.02345, allocations: 0 / 402.3 MB, free: 10.6 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.002357/0.0258, allocations: 2.17 MB / 404.4 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.02585, allocations: 8.031 kB / 404.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009602/0.02681, allocations: 419.5 kB / 404.9 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.02787, allocations: 0.9313 MB / 405.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.471e-05/0.02793, allocations: 90.84 kB / 405.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.02824, allocations: 128.3 kB / 406 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.03086, allocations: 2.037 MB / 408 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.03089, allocations: 15.83 kB / 408 MB, free: 4.457 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-05/0.03099, allocations: 67.95 kB / 408.1 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003778/0.03136, allocations: 430 kB / 408.5 MB, free: 3.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.03347, allocations: 1.02 MB / 409.6 MB, free: 2.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008089/0.04156, allocations: 11.64 MB / 421.2 MB, free: 6.965 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003262/0.04482, allocations: 1.028 MB / 422.2 MB, free: 5.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003862/0.04521, allocations: 209.3 kB / 422.4 MB, free: 5.699 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002984/0.04819, allocations: 1.79 MB / 424.2 MB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.04823, allocations: 41.89 kB / 424.3 MB, free: 3.832 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.856e-06/0.04823, allocations: 0 / 424.3 MB, free: 3.832 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.009769/0.058, allocations: 3.005 MB / 427.3 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.05806, allocations: 85.61 kB / 427.3 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.05977, allocations: 1.114 MB / 428.5 MB, free: 15.53 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.05981, allocations: 41.64 kB / 428.5 MB, free: 15.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007277/0.06054, allocations: 1.031 MB / 429.5 MB, free: 14.44 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.06072, allocations: 234.2 kB / 429.8 MB, free: 14.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000337/0.06106, allocations: 337 kB / 430.1 MB, free: 13.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.06121, allocations: 0.5355 MB / 430.6 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002427/0.06146, allocations: 159.9 kB / 430.8 MB, free: 13.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008547/0.06231, allocations: 1.427 MB / 432.2 MB, free: 11.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.06362, allocations: 1.717 MB / 433.9 MB, free: 8.895 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.06363, allocations: 8 kB / 433.9 MB, free: 8.887 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00162/0.06525, allocations: 1.314 MB / 435.2 MB, free: 7.562 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/0.06528, allocations: 16 kB / 435.3 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.768e-05/0.06531, allocations: 32 kB / 435.3 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001875/0.0655, allocations: 71.66 kB / 435.4 MB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006792/0.06618, allocations: 359.3 kB / 435.7 MB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.06742, allocations: 2.149 MB / 437.9 MB, free: 4.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005642/0.06799, allocations: 95.92 kB / 438 MB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.968e-05/0.06806, allocations: 84 kB / 438 MB, free: 4.645 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.0004345/0.06849, allocations: 290.4 kB / 438.3 MB, free: 4.348 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.0686, allocations: 131.2 kB / 438.5 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.06873, allocations: 118.6 kB / 438.6 MB, free: 4.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.06873, allocations: 11.97 kB / 438.6 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.06874, allocations: 0 / 438.6 MB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.06875, allocations: 4 kB / 438.6 MB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/0.07083, allocations: 1.757 MB / 440.3 MB, free: 2.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.07083, allocations: 4 kB / 440.3 MB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002235/0.07106, allocations: 95.83 kB / 440.4 MB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/0.0712, allocations: 48.12 kB / 440.5 MB, free: 2.066 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.07123, allocations: 20 kB / 440.5 MB, free: 2.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001554/0.07278, allocations: 2.177 MB / 442.7 MB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.07279, allocations: 7.938 kB / 442.7 MB, free: 15.74 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008447/0.07363, allocations: 0.8191 MB / 443.5 MB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.07376, allocations: 119.2 kB / 443.6 MB, free: 14.72 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.07384, allocations: 16 kB / 443.6 MB, free: 14.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.07407, allocations: 39.95 kB / 443.7 MB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.202e-05/0.07414, allocations: 55.8 kB / 443.7 MB, free: 14.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.07416, allocations: 16 kB / 443.8 MB, free: 14.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005841/0.07475, allocations: 0.5735 MB / 444.3 MB, free: 14.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07475, allocations: 0 / 444.3 MB, free: 14.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001096/0.07584, allocations: 352 kB / 444.7 MB, free: 13.67 MB / 426.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.0002628/0.0761, allocations: 135.1 kB / 444.8 MB, free: 13.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009651/0.07707, allocations: 0.8573 MB / 445.7 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.07707, allocations: 320 / 445.7 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.07737, allocations: 389.9 kB / 446 MB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.07797, allocations: 169.4 kB / 446.2 MB, free: 12.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003316/0.08128, allocations: 2.526 MB / 448.7 MB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005224/0.0818, allocations: 408.1 kB / 449.1 MB, free: 9.023 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005236/0.08233, allocations: 361.2 kB / 449.5 MB, free: 8.668 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.08245, allocations: 76.48 kB / 449.6 MB, free: 8.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.303e-06/0.08245, allocations: 0 / 449.6 MB, free: 8.59 MB / 426.7 MB Notification: Performance of Templates: time 0.1656/0.248, allocations: 10.58 MB / 460.1 MB, free: 114.6 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.7256056901533157]