Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.001909/0.001909, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.002325/0.002325, allocations: 214.7 kB / 24.48 MB, free: 3.941 MB / 14.72 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.554/1.554, allocations: 230.6 MB / 258.2 MB, free: 7.762 MB / 206.1 MB " [Timeout remaining time 178] 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.2268/0.2268, allocations: 46.98 MB / 361.6 MB, free: 3.996 MB / 286.1 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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 67.91 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3166, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01132/0.3279, allocations: 8.369 MB / 0.57 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007463/0.3354, allocations: 3.613 MB / 0.5735 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007106/0.3361, allocations: 63.75 kB / 0.5736 GB, free: 8.035 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004363/0.3404, allocations: 2.223 MB / 0.5758 GB, free: 5.805 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003549/0.344, allocations: 1.661 MB / 0.5774 GB, free: 4.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.3454, allocations: 0.7018 MB / 0.5781 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004834/0.3503, allocations: 3.802 MB / 0.5818 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002945/0.3532, allocations: 2.32 MB / 0.584 GB, free: 13.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.355, allocations: 1.316 MB / 0.5853 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0023/0.3573, allocations: 1.861 MB / 0.5871 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004937/0.3578, allocations: 284 kB / 0.5874 GB, free: 9.785 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001897/0.3597, allocations: 1.065 MB / 0.5885 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.3613, allocations: 1.624 MB / 0.59 GB, free: 7.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001594/0.3629, allocations: 1.359 MB / 0.5914 GB, free: 5.723 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006983/0.3699, allocations: 6.252 MB / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.3699, allocations: 0 / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.3699, allocations: 7.984 kB / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.45e-05/0.37, allocations: 3.938 kB / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.008051/0.378, allocations: 4.179 MB / 0.6016 GB, free: 11.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.3781, allocations: 8.031 kB / 0.6016 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008111/0.3862, allocations: 2.022 MB / 0.6036 GB, free: 9.168 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006522/0.3927, allocations: 2.275 MB / 0.6058 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.3929, allocations: 193.3 kB / 0.606 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007158/0.3936, allocations: 260 kB / 0.6062 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01473/0.4083, allocations: 8.605 MB / 0.6146 GB, free: 13.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/0.4084, allocations: 43.69 kB / 0.6147 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003619/0.4088, allocations: 131.8 kB / 0.6148 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00331/0.4121, allocations: 1.746 MB / 0.6165 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.4269, allocations: 7.536 MB / 0.6238 GB, free: 3.723 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04417/0.471, allocations: 31.99 MB / 0.6551 GB, free: 2.785 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006928/0.478, allocations: 2.52 MB / 0.6575 GB, free: 228 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002354/0.4803, allocations: 1.769 MB / 0.6593 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000297/0.4806, allocations: 100.4 kB / 0.6594 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.4807, allocations: 51.16 kB / 0.6594 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.677e-06/0.4807, allocations: 0 / 0.6594 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.04196/0.5226, allocations: 15.3 MB / 0.6744 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001191/0.5228, allocations: 171.2 kB / 0.6745 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005154/0.5279, allocations: 3.263 MB / 0.6777 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.5282, allocations: 45.7 kB / 0.6777 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002361/0.5306, allocations: 2.778 MB / 0.6805 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008954/0.5315, allocations: 0.6358 MB / 0.6811 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001857/0.5333, allocations: 1.115 MB / 0.6822 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5335, allocations: 305.1 kB / 0.6825 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.5368, allocations: 2.119 MB / 0.6845 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006334/0.5432, allocations: 5.366 MB / 0.6898 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.5534, allocations: 8.035 MB / 0.6976 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-05/0.5535, allocations: 32 kB / 0.6976 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01514/0.5686, allocations: 8.248 MB / 0.7057 GB, free: 11.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/0.5687, allocations: 54.44 kB / 0.7058 GB, free: 11.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000137/0.5689, allocations: 119.9 kB / 0.7059 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003291/0.5721, allocations: 1.223 MB / 0.7071 GB, free: 10.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004134/0.5763, allocations: 1.216 MB / 0.7083 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.5874, allocations: 7.397 MB / 0.7155 GB, free: 1.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.5913, allocations: 307.6 kB / 0.7158 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007069/0.592, allocations: 328 kB / 0.7161 GB, free: 0.7656 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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 (649): * Single equations (assignments): 645 * 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 {(3,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002973/0.595, allocations: 1.86 MB / 0.7179 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005653/0.5955, allocations: 278.1 kB / 0.7182 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006859/0.6024, allocations: 3.534 MB / 0.7216 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/0.6024, allocations: 16 kB / 0.7216 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.6024, allocations: 4 kB / 0.7216 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/0.6024, allocations: 7.984 kB / 0.7216 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.6166, allocations: 7.158 MB / 0.7286 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.6166, allocations: 0 / 0.7286 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.6178, allocations: 231.6 kB / 0.7289 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002954/0.6208, allocations: 1.062 MB / 0.7299 GB, free: 2.527 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.6209, allocations: 24 kB / 0.7299 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2575/0.8784, allocations: 7.062 MB / 0.7368 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8784, allocations: 3.562 kB / 0.7368 GB, free: 152 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007532/0.886, allocations: 6.241 MB / 0.7429 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/0.8866, allocations: 251.2 kB / 0.7431 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.8869, allocations: 27.91 kB / 0.7432 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/0.888, allocations: 106.9 kB / 0.7433 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002647/0.8883, allocations: 91.14 kB / 0.7434 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.8884, allocations: 39.31 kB / 0.7434 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002109/0.8905, allocations: 1.884 MB / 0.7452 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8905, allocations: 0 / 0.7452 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003392/0.8939, allocations: 0.8813 MB / 0.7461 GB, free: 148.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (115): * Single equations (assignments): 111 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003306/0.8942, allocations: 154.8 kB / 0.7462 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005627/0.8999, allocations: 4.934 MB / 0.7511 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8999, allocations: 0 / 0.7511 GB, free: 145.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002364/0.9022, allocations: 1.741 MB / 0.7528 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.904, allocations: 326.6 kB / 0.7531 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/0.9147, allocations: 8.438 MB / 0.7613 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.9168, allocations: 2.337 MB / 0.7636 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003027/0.9199, allocations: 1.665 MB / 0.7652 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005288/0.9204, allocations: 199.4 kB / 0.7654 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.273e-06/0.9204, allocations: 0 / 0.7654 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05303/0.9734, allocations: 36.41 MB / 0.801 GB, free: 96.66 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.909038835990941]