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.001333/0.001333, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.00111/0.00111, allocations: 170 kB / 24.91 MB, free: 8.723 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 0.9429/0.9429, allocations: 177.1 MB / 205.3 MB, free: 5.109 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.2429/0.2429, allocations: 34.26 MB / 296.1 MB, free: 0.6953 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 1.523e-06/1.523e-06, allocations: 0 / 325.3 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.641e-05, allocations: 3.812 kB / 325.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006777/0.006793, allocations: 8.203 MB / 333.5 MB, free: 15.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.01234, allocations: 3.491 MB / 336.9 MB, free: 11.95 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007821/0.01312, allocations: 55.75 kB / 337 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.01481, allocations: 1.456 MB / 338.5 MB, free: 10.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.01629, allocations: 0.976 MB / 339.4 MB, free: 9.453 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007117/0.01701, allocations: 0.5652 MB / 340 MB, free: 8.887 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.01835, allocations: 2.054 MB / 342.1 MB, free: 6.828 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.0194, allocations: 1.585 MB / 343.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008399/0.02024, allocations: 1.045 MB / 344.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007403/0.02098, allocations: 0.9392 MB / 345.6 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.02112, allocations: 140 kB / 345.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.0217, allocations: 0.5654 MB / 346.3 MB, free: 2.496 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004375/0.02214, allocations: 0.787 MB / 347.1 MB, free: 1.707 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003961/0.02254, allocations: 0.5338 MB / 347.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001214/0.02375, allocations: 1.721 MB / 349.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02375, allocations: 0 / 349.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.02375, allocations: 0 / 349.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.02377, allocations: 0 / 349.4 MB, free: 15.45 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.001724/0.02549, allocations: 1.814 MB / 351.2 MB, free: 13.6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.02552, allocations: 19.95 kB / 351.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.02603, allocations: 260.7 kB / 351.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007687/0.0268, allocations: 0.8079 MB / 352.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.99e-05/0.02685, allocations: 102.8 kB / 352.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.02697, allocations: 124.3 kB / 352.5 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.02867, allocations: 1.618 MB / 354.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/0.0287, allocations: 11.88 kB / 354.1 MB, free: 10.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.02877, allocations: 55.97 kB / 354.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003151/0.02909, allocations: 406.1 kB / 354.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001199/0.03029, allocations: 0.7453 MB / 355.3 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005303/0.03559, allocations: 8.296 MB / 363.6 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001612/0.0372, allocations: 0.9265 MB / 364.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.03736, allocations: 148.2 kB / 364.7 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001721/0.03908, allocations: 1.577 MB / 366.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.03911, allocations: 43.06 kB / 366.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 1.743e-06/0.03911, allocations: 0 / 366.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.004601/0.04371, allocations: 2.366 MB / 368.7 MB, free: 11.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.04375, allocations: 81.61 kB / 368.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006572/0.0444, allocations: 1.013 MB / 369.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.04443, allocations: 29.7 kB / 369.8 MB, free: 10.33 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.0448, allocations: 0.8975 MB / 370.7 MB, free: 9.414 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.04491, allocations: 230.2 kB / 370.9 MB, free: 9.188 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002193/0.04512, allocations: 315.2 kB / 371.2 MB, free: 8.875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.77e-05/0.04522, allocations: 357.8 kB / 371.6 MB, free: 8.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002444/0.04547, allocations: 178.8 kB / 371.7 MB, free: 8.344 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006963/0.04616, allocations: 1.061 MB / 372.8 MB, free: 6.852 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008564/0.04702, allocations: 1.363 MB / 374.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.04703, allocations: 12 kB / 374.2 MB, free: 5.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0009511/0.04798, allocations: 1.059 MB / 375.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.048, allocations: 16.94 kB / 375.3 MB, free: 3.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.964e-05/0.04802, allocations: 32 kB / 375.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001193/0.04814, allocations: 75.67 kB / 375.4 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005531/0.04869, allocations: 363.3 kB / 375.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007449/0.04944, allocations: 1.568 MB / 377.3 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.04987, allocations: 67.94 kB / 377.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.855e-05/0.04993, allocations: 80.03 kB / 377.4 MB, free: 1.676 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.0002969/0.05023, allocations: 258.5 kB / 377.7 MB, free: 1.414 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/0.05031, allocations: 80.09 kB / 377.8 MB, free: 1.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.05041, allocations: 114.8 kB / 377.9 MB, free: 1.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.05042, allocations: 8 kB / 377.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.05043, allocations: 4 kB / 377.9 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.05043, allocations: 3.938 kB / 377.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.05191, allocations: 1.445 MB / 379.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.05191, allocations: 4 kB / 379.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.0521, allocations: 95.83 kB / 379.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.274e-05/0.05219, allocations: 47.66 kB / 379.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.05221, allocations: 12 kB / 379.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000761/0.05297, allocations: 1.619 MB / 381.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.05297, allocations: 11.92 kB / 381.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004614/0.05343, allocations: 0.6331 MB / 381.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.411e-05/0.05353, allocations: 103.3 kB / 381.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.46e-05/0.05359, allocations: 16.05 kB / 381.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001823/0.05377, allocations: 23.94 kB / 381.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.05382, allocations: 51.84 kB / 381.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.05383, allocations: 16 kB / 382 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002743/0.05411, allocations: 402.1 kB / 382.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.05411, allocations: 0 / 382.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007898/0.0549, allocations: 360 kB / 382.7 MB, free: 12.12 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.0001966/0.05509, allocations: 116.3 kB / 382.8 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006883/0.05578, allocations: 0.7305 MB / 383.5 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.411e-05/0.05581, allocations: 31.78 kB / 383.6 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.05603, allocations: 300.9 kB / 383.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.05652, allocations: 173.9 kB / 384 MB, free: 10.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.05916, allocations: 2.511 MB / 386.5 MB, free: 8.152 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.05945, allocations: 412.2 kB / 386.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.05973, allocations: 145.7 kB / 387.1 MB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.06, allocations: 237.3 kB / 387.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.06, allocations: 0 / 387.3 MB, free: 7.348 MB / 362.7 MB Notification: Performance of Templates: time 0.01513/0.07513, allocations: 11.39 MB / 398.7 MB, free: 12.15 MB / 378.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.157928383909166]