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.0009412/0.0009412, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001018/0.001018, allocations: 165.9 kB / 24.91 MB, free: 8.762 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.9496/0.9496, allocations: 177 MB / 205.2 MB, free: 5.055 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.2472/0.2472, allocations: 34.87 MB / 296.6 MB, free: 492 kB / 266.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.422e-06/1.422e-06, allocations: 0 / 325.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.724e-05, allocations: 2.312 kB / 325.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006122/0.006139, allocations: 8.214 MB / 334.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004422/0.01056, allocations: 3.487 MB / 337.6 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004556/0.01102, allocations: 51.75 kB / 337.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.01252, allocations: 1.46 MB / 339.1 MB, free: 9.906 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00135/0.01387, allocations: 0.9682 MB / 340.1 MB, free: 8.934 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000651/0.01452, allocations: 0.5613 MB / 340.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.01585, allocations: 2.061 MB / 342.7 MB, free: 6.312 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001128/0.01698, allocations: 1.589 MB / 344.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008344/0.01782, allocations: 1.045 MB / 345.4 MB, free: 3.625 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007822/0.0186, allocations: 0.947 MB / 346.3 MB, free: 2.676 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.01873, allocations: 140 kB / 346.4 MB, free: 2.539 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005538/0.01929, allocations: 0.5577 MB / 347 MB, free: 1.98 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004427/0.01973, allocations: 0.791 MB / 347.8 MB, free: 1.188 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.02014, allocations: 0.5336 MB / 348.3 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.02139, allocations: 1.717 MB / 350 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.02139, allocations: 4 kB / 350 MB, free: 14.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.0214, allocations: 0 / 350 MB, free: 14.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.713e-05/0.02141, allocations: 4 kB / 350 MB, free: 14.92 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.001728/0.02314, allocations: 1.81 MB / 351.9 MB, free: 13.08 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.02317, allocations: 8.031 kB / 351.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000534/0.0237, allocations: 264.7 kB / 352.1 MB, free: 12.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007996/0.0245, allocations: 0.8118 MB / 352.9 MB, free: 11.97 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.02456, allocations: 90.83 kB / 353 MB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.02468, allocations: 140.3 kB / 353.2 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.02642, allocations: 1.618 MB / 354.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.02645, allocations: 15.92 kB / 354.8 MB, free: 9.898 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.02653, allocations: 59.97 kB / 354.9 MB, free: 9.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003167/0.02685, allocations: 398.1 kB / 355.2 MB, free: 9.449 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001274/0.02812, allocations: 0.7375 MB / 356 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00537/0.03349, allocations: 8.3 MB / 364.3 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001596/0.03509, allocations: 0.9242 MB / 365.2 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.03525, allocations: 151.6 kB / 365.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.03686, allocations: 1.573 MB / 366.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.03688, allocations: 39.06 kB / 367 MB, free: 13.4 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 2.184e-06/0.03689, allocations: 0 / 367 MB, free: 13.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.004522/0.04141, allocations: 2.37 MB / 369.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/0.04144, allocations: 85.61 kB / 369.4 MB, free: 10.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006569/0.0421, allocations: 1.01 MB / 370.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.04213, allocations: 37.7 kB / 370.5 MB, free: 9.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.04248, allocations: 0.8937 MB / 371.4 MB, free: 8.898 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.04258, allocations: 226.2 kB / 371.6 MB, free: 8.676 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/0.04279, allocations: 315.2 kB / 371.9 MB, free: 8.363 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.04295, allocations: 361.8 kB / 372.2 MB, free: 8.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002546/0.0432, allocations: 182.8 kB / 372.4 MB, free: 7.824 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.04379, allocations: 1.061 MB / 373.5 MB, free: 6.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008469/0.04464, allocations: 1.352 MB / 374.8 MB, free: 4.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.998e-06/0.04465, allocations: 15.94 kB / 374.8 MB, free: 4.523 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0009507/0.0456, allocations: 1.059 MB / 375.9 MB, free: 3.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.04562, allocations: 20 kB / 375.9 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.04564, allocations: 28 kB / 375.9 MB, free: 3.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001271/0.04577, allocations: 80.44 kB / 376 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/0.04634, allocations: 363.3 kB / 376.4 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007493/0.04709, allocations: 1.572 MB / 378 MB, free: 1.297 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004402/0.04753, allocations: 71.95 kB / 378 MB, free: 1.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.04759, allocations: 72 kB / 378.1 MB, free: 1.156 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.0002643/0.04785, allocations: 258.5 kB / 378.3 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-05/0.04793, allocations: 71.92 kB / 378.4 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.04803, allocations: 126.7 kB / 378.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.04803, allocations: 4 kB / 378.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.04804, allocations: 96 / 378.5 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.04805, allocations: 15.91 kB / 378.6 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.04947, allocations: 1.434 MB / 380 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.04947, allocations: 4.031 kB / 380 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.04965, allocations: 95.89 kB / 380.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.926e-05/0.04974, allocations: 47.64 kB / 380.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.04976, allocations: 16 kB / 380.2 MB, free: 15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000773/0.05053, allocations: 1.627 MB / 381.8 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.05054, allocations: 8 kB / 381.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004601/0.051, allocations: 0.625 MB / 382.4 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.05109, allocations: 103.3 kB / 382.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.655e-05/0.05116, allocations: 16 kB / 382.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001907/0.05135, allocations: 31.98 kB / 382.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/0.05139, allocations: 47.88 kB / 382.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.05141, allocations: 15.98 kB / 382.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.0517, allocations: 406.1 kB / 383 MB, free: 11.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0517, allocations: 0 / 383 MB, free: 11.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007918/0.05249, allocations: 356 kB / 383.4 MB, free: 11.61 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.0001911/0.05268, allocations: 124.2 kB / 383.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006358/0.05332, allocations: 0.7253 MB / 384.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-05/0.05336, allocations: 33.59 kB / 384.2 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002208/0.05358, allocations: 300.8 kB / 384.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004899/0.05407, allocations: 172.6 kB / 384.7 MB, free: 10.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.05664, allocations: 2.499 MB / 387.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.05693, allocations: 412.2 kB / 387.6 MB, free: 7.211 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.05722, allocations: 153.7 kB / 387.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002643/0.05748, allocations: 229.3 kB / 388 MB, free: 6.836 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/0.05748, allocations: 0 / 388 MB, free: 6.836 MB / 362.7 MB Notification: Performance of Templates: time 0.01958/0.07706, allocations: 11.37 MB / 399.4 MB, free: 11.66 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.1457700659520924]