Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001154/0.001154, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.001178/0.001178, allocations: 168.3 kB / 24.82 MB, free: 8.918 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.127/1.127, allocations: 177.2 MB / 205.3 MB, free: 5.461 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.3083/0.3083, allocations: 34.27 MB / 296.1 MB, free: 0.7031 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171e-05/1.32e-05, allocations: 2.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01118/0.01119, allocations: 15.03 MB / 393.5 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00755/0.01874, allocations: 5.339 MB / 398.9 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.01992, allocations: 131.3 kB / 399 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004976/0.0249, allocations: 5.424 MB / 404.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003697/0.02859, allocations: 2.776 MB / 407.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002013/0.03061, allocations: 1.567 MB / 408.8 MB, free: 4.008 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007036/0.03764, allocations: 9.357 MB / 418.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004663/0.04231, allocations: 6.146 MB / 424.3 MB, free: 4.398 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004695/0.047, allocations: 5.794 MB / 430.1 MB, free: 14.59 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00321/0.05021, allocations: 4.225 MB / 434.3 MB, free: 10.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006243/0.05083, allocations: 0.6445 MB / 434.9 MB, free: 9.715 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002197/0.05303, allocations: 1.736 MB / 436.7 MB, free: 7.977 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001977/0.05501, allocations: 3.604 MB / 440.3 MB, free: 4.363 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.05675, allocations: 2.259 MB / 442.5 MB, free: 2.098 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2004/0.2572, allocations: 7.557 MB / 450.1 MB, free: 68.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2572, allocations: 1.094 kB / 450.1 MB, free: 68.74 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2572, allocations: 2.969 kB / 450.1 MB, free: 68.74 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000379/0.2576, allocations: 1.641 kB / 450.1 MB, free: 68.74 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.01115/0.2687, allocations: 8.117 MB / 458.2 MB, free: 65.67 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.2688, allocations: 9.219 kB / 458.2 MB, free: 65.67 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00618/0.275, allocations: 2.703 MB / 460.9 MB, free: 65.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.2789, allocations: 3.734 MB / 464.6 MB, free: 64.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001676/0.279, allocations: 388.4 kB / 465 MB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005666/0.2796, allocations: 0.5042 MB / 465.5 MB, free: 64.32 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008182/0.2878, allocations: 8.24 MB / 473.8 MB, free: 60.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001251/0.2879, allocations: 66.08 kB / 473.8 MB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003811/0.2883, allocations: 236.4 kB / 474.1 MB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001726/0.29, allocations: 2.306 MB / 476.4 MB, free: 60.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007566/0.2976, allocations: 3.817 MB / 480.2 MB, free: 60.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04194/0.3395, allocations: 58.8 MB / 0.5264 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006707/0.3462, allocations: 2.883 MB / 0.5292 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008904/0.3471, allocations: 0.803 MB / 0.53 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008979/0.3561, allocations: 7.124 MB / 0.5369 GB, free: 26.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.3561, allocations: 59.14 kB / 0.537 GB, free: 26.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 3.877e-06/0.3561, allocations: 3.984 kB / 0.537 GB, free: 26.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.03498/0.3911, allocations: 14.26 MB / 0.5509 GB, free: 14.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.3912, allocations: 237.5 kB / 0.5511 GB, free: 14.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.3959, allocations: 4.9 MB / 0.5559 GB, free: 10.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001392/0.3961, allocations: 73.7 kB / 0.556 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002739/0.3988, allocations: 4.807 MB / 0.5607 GB, free: 5.617 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009335/0.3997, allocations: 1.251 MB / 0.5619 GB, free: 4.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001736/0.4015, allocations: 1.833 MB / 0.5637 GB, free: 2.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4016, allocations: 476.8 kB / 0.5641 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.4035, allocations: 0.9457 MB / 0.5651 GB, free: 1.344 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006056/0.4096, allocations: 7.956 MB / 0.5728 GB, free: 6.539 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008988/0.4186, allocations: 9.621 MB / 0.5822 GB, free: 10.36 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/0.4187, allocations: 48 kB / 0.5823 GB, free: 10.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.01097/0.4297, allocations: 7.447 MB / 0.5896 GB, free: 2.828 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.294e-05/0.4297, allocations: 72 kB / 0.5896 GB, free: 2.758 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.4299, allocations: 172.1 kB / 0.5898 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003652/0.4335, allocations: 1.468 MB / 0.5912 GB, free: 1.129 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003094/0.4366, allocations: 1.825 MB / 0.593 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006752/0.4434, allocations: 5.472 MB / 0.5983 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/0.4477, allocations: 347.7 kB / 0.5987 GB, free: 9.461 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004315/0.4481, allocations: 416 kB / 0.5991 GB, free: 9.055 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[1],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1027 * Array equations: 3 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002156/0.4503, allocations: 0.8199 MB / 0.5999 GB, free: 8.219 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006913/0.451, allocations: 0.5849 MB / 0.6004 GB, free: 7.633 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004546/0.4555, allocations: 2.791 MB / 0.6032 GB, free: 4.785 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.4e-05/0.4555, allocations: 34.97 kB / 0.6032 GB, free: 4.754 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/0.4555, allocations: 12 kB / 0.6032 GB, free: 4.742 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.4556, allocations: 11.95 kB / 0.6032 GB, free: 4.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2076/0.6632, allocations: 9.557 MB / 0.6126 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.901e-05/0.6632, allocations: 12.28 kB / 0.6126 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009521/0.6641, allocations: 425 kB / 0.613 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/0.6673, allocations: 1.231 MB / 0.6142 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.6675, allocations: 71.91 kB / 0.6142 GB, free: 135.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00472/0.6722, allocations: 4.282 MB / 0.6184 GB, free: 133.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/0.6722, allocations: 16.03 kB / 0.6184 GB, free: 133.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005593/0.6778, allocations: 4.471 MB / 0.6228 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008684/0.6787, allocations: 0.5104 MB / 0.6233 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.679, allocations: 61.78 kB / 0.6234 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.68, allocations: 72.25 kB / 0.6234 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.6803, allocations: 240 kB / 0.6237 GB, free: 131.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001153/0.6804, allocations: 73.44 kB / 0.6237 GB, free: 131.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00178/0.6822, allocations: 2.042 MB / 0.6257 GB, free: 131.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 4e-08/0.6822, allocations: 3.594 kB / 0.6257 GB, free: 131.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004478/0.6866, allocations: 1.744 MB / 0.6274 GB, free: 131.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (revolute.phi,revolute.w) * 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 (251): * Single equations (assignments): 247 * Array equations: 3 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004194/0.6871, allocations: 277.8 kB / 0.6277 GB, free: 131.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004148/0.6912, allocations: 4.231 MB / 0.6318 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.6912, allocations: 3.281 kB / 0.6318 GB, free: 131.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.6924, allocations: 1.308 MB / 0.6331 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.6944, allocations: 0.6882 MB / 0.6338 GB, free: 130.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.7078, allocations: 12.18 MB / 0.6457 GB, free: 124.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001504/0.7093, allocations: 1.98 MB / 0.6476 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001707/0.711, allocations: 0.7216 MB / 0.6483 GB, free: 124.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/0.7123, allocations: 0.8612 MB / 0.6492 GB, free: 124 MB / 474.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7123, allocations: 0 / 0.6492 GB, free: 124 MB / 474.7 MB Notification: Performance of Templates: time 0.07542/0.7877, allocations: 62.19 MB / 0.7099 GB, free: 72.07 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.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: 5.538008267991245]