Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.002042/0.002042, allocations: 77.55 kB / 19.93 MB, free: 1.781 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.002781/0.002781, allocations: 162.4 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 158.6 MB / 185 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2415/0.2415, allocations: 32.37 MB / 269.6 MB, free: 4.668 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 407.4 MB, free: 3.008 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.089e-05/3.255e-05, allocations: 2.281 kB / 407.4 MB, free: 3.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01571/0.01574, allocations: 10.53 MB / 417.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01124/0.02698, allocations: 4.177 MB / 422.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.0293, allocations: 79.62 kB / 422.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005929/0.03522, allocations: 2.842 MB / 425 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006752/0.04198, allocations: 2.17 MB / 427.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.04481, allocations: 1.115 MB / 428.3 MB, free: 14 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01242/0.05724, allocations: 5.793 MB / 434.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008475/0.06571, allocations: 3.395 MB / 437.5 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/0.07633, allocations: 2.721 MB / 440.2 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00941/0.08574, allocations: 2.755 MB / 443 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002549/0.08829, allocations: 380 kB / 443.3 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00564/0.09393, allocations: 1.381 MB / 444.7 MB, free: 13.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004482/0.09841, allocations: 2.369 MB / 447.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004831/0.1032, allocations: 1.468 MB / 448.5 MB, free: 9.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01782/0.1211, allocations: 8.232 MB / 456.8 MB, free: 1.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1211, allocations: 0 / 456.8 MB, free: 1.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1211, allocations: 0 / 456.8 MB, free: 1.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003177/0.1214, allocations: 0 / 456.8 MB, free: 1.41 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02308/0.1445, allocations: 5.876 MB / 462.6 MB, free: 11.47 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.1445, allocations: 12.03 kB / 462.7 MB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0191/0.1636, allocations: 2.74 MB / 465.4 MB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009864/0.1735, allocations: 3.197 MB / 468.6 MB, free: 5.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004248/0.1739, allocations: 254.8 kB / 468.8 MB, free: 5.219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002774/0.1767, allocations: 348.3 kB / 469.2 MB, free: 4.879 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3369/0.5136, allocations: 12.48 MB / 481.7 MB, free: 61.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/0.5138, allocations: 55.53 kB / 481.7 MB, free: 61.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005785/0.5144, allocations: 165.5 kB / 481.9 MB, free: 61.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005593/0.52, allocations: 2.379 MB / 484.3 MB, free: 60.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02551/0.5455, allocations: 10.84 MB / 495.1 MB, free: 57.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05737/0.6029, allocations: 45.69 MB / 0.5281 GB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/0.6173, allocations: 5.526 MB / 0.5335 GB, free: 6.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003366/0.6206, allocations: 3.009 MB / 0.5364 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02064/0.6413, allocations: 11.97 MB / 0.5481 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/0.6413, allocations: 59.81 kB / 0.5482 GB, free: 8.023 MB / 414.1 MB Notification: Performance of pre-optimization done (n=204): time 5.24e-06/0.6413, allocations: 0 / 0.5482 GB, free: 8.023 MB / 414.1 MB Notification: Performance of matching and sorting (n=265): time 0.1253/0.7667, allocations: 37.32 MB / 0.5846 GB, free: 2.949 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002554/0.7669, allocations: 205.9 kB / 0.5848 GB, free: 2.703 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00863/0.7756, allocations: 4.307 MB / 0.589 GB, free: 14.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008428/0.7764, allocations: 61.7 kB / 0.5891 GB, free: 14.39 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003242/0.7797, allocations: 3.509 MB / 0.5925 GB, free: 10.86 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001974/0.7816, allocations: 1.019 MB / 0.5935 GB, free: 9.828 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00265/0.7843, allocations: 1.413 MB / 0.5949 GB, free: 8.406 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002182/0.7845, allocations: 305.1 kB / 0.5952 GB, free: 8.105 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00623/0.7907, allocations: 3.285 MB / 0.5984 GB, free: 4.816 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01054/0.8013, allocations: 7.258 MB / 0.6055 GB, free: 11.63 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01873/0.82, allocations: 11.24 MB / 0.6165 GB, free: 14.47 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001575/0.8202, allocations: 36 kB / 0.6165 GB, free: 14.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=917) (initialization): time 0.03277/0.8529, allocations: 13.21 MB / 0.6294 GB, free: 1.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001223/0.853, allocations: 63.94 kB / 0.6295 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/0.8532, allocations: 136 kB / 0.6296 GB, free: 1.012 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01188/0.8651, allocations: 3.389 MB / 0.6329 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006677/0.8718, allocations: 1.587 MB / 0.6344 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03328/0.9051, allocations: 16.93 MB / 0.651 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008414/0.9135, allocations: 0.5189 MB / 0.6515 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001961/0.9155, allocations: 411.9 kB / 0.6519 GB, free: 10.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (839): * Single equations (assignments): 835 * 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,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007329/0.9228, allocations: 2.349 MB / 0.6542 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/0.9245, allocations: 377.5 kB / 0.6545 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.344/1.269, allocations: 7.928 MB / 0.6623 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.002e-05/1.269, allocations: 27.69 kB / 0.6623 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.393e-05/1.269, allocations: 10.75 kB / 0.6623 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.202e-05/1.269, allocations: 12.88 kB / 0.6623 GB, free: 171.6 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03444/1.303, allocations: 13.98 MB / 0.676 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-05/1.303, allocations: 3.344 kB / 0.676 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002416/1.306, allocations: 391.2 kB / 0.6764 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/1.316, allocations: 3.167 MB / 0.6794 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007293/1.317, allocations: 39.84 kB / 0.6795 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0221/1.339, allocations: 15.54 MB / 0.6947 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.339, allocations: 0.5625 kB / 0.6947 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/1.362, allocations: 12.08 MB / 0.7065 GB, free: 153.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/1.365, allocations: 0.8837 MB / 0.7073 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008731/1.366, allocations: 44 kB / 0.7074 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002897/1.369, allocations: 271.1 kB / 0.7076 GB, free: 152.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007014/1.369, allocations: 170 kB / 0.7078 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.369, allocations: 67.98 kB / 0.7078 GB, free: 152.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003616/1.373, allocations: 2.537 MB / 0.7103 GB, free: 150 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.373, allocations: 0 / 0.7103 GB, free: 150 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007294/1.38, allocations: 1.507 MB / 0.7118 GB, free: 148.5 MB / 0.5137 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007625/1.381, allocations: 208.7 kB / 0.712 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01166/1.393, allocations: 7.69 MB / 0.7195 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/1.393, allocations: 4 kB / 0.7195 GB, free: 140.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004861/1.398, allocations: 3.059 MB / 0.7225 GB, free: 137.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003451/1.401, allocations: 453.5 kB / 0.7229 GB, free: 137.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0206/1.422, allocations: 12.03 MB / 0.7347 GB, free: 125.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004374/1.426, allocations: 3.158 MB / 0.7378 GB, free: 122 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00518/1.431, allocations: 2.142 MB / 0.7398 GB, free: 119.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.432, allocations: 272.4 kB / 0.7401 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of SimCode: time 2.224e-06/1.432, allocations: 0 / 0.7401 GB, free: 119.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.09008/1.523, allocations: 56.58 MB / 0.7954 GB, free: 63.04 MB / 0.5137 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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: 8.818786162883043]