Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.002152/0.002152, allocations: 77.16 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.002027/0.002027, 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.535/1.535, allocations: 158.6 MB / 185 MB, free: 6.398 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.2254/0.2254, 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 407.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.708e-05/2.955e-05, allocations: 2.281 kB / 407.3 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02065/0.02068, allocations: 13.99 MB / 421.3 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.03617, allocations: 5.226 MB / 426.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004681/0.04086, allocations: 131.3 kB / 426.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01258/0.05343, allocations: 5.272 MB / 432 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01031/0.06375, allocations: 2.795 MB / 434.8 MB, free: 7.504 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.06878, allocations: 1.552 MB / 436.3 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01708/0.08585, allocations: 8.59 MB / 444.9 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01222/0.09808, allocations: 5.98 MB / 450.9 MB, free: 7.273 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01009/0.1082, allocations: 4.273 MB / 455.2 MB, free: 2.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007949/0.1161, allocations: 4.139 MB / 459.3 MB, free: 14.84 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002492/0.1186, allocations: 0.6523 MB / 459.9 MB, free: 14.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004954/0.1236, allocations: 1.763 MB / 461.7 MB, free: 12.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005636/0.1292, allocations: 3.616 MB / 465.3 MB, free: 8.801 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006559/0.1358, allocations: 2.283 MB / 467.6 MB, free: 6.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3118/0.4476, allocations: 12.28 MB / 479.9 MB, free: 35.26 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.4476, allocations: 0 / 479.9 MB, free: 35.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.056e-06/0.4476, allocations: 0 / 479.9 MB, free: 35.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006073/0.4482, allocations: 1.094 kB / 479.9 MB, free: 35.26 MB / 398.1 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.03898/0.4872, allocations: 8.142 MB / 488 MB, free: 32.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.8e-05/0.4873, allocations: 9.062 kB / 488 MB, free: 32.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0229/0.5102, allocations: 3.221 MB / 491.3 MB, free: 31.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02142/0.5316, allocations: 5.123 MB / 496.4 MB, free: 30.93 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008364/0.5324, allocations: 379.8 kB / 496.8 MB, free: 30.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006106/0.5385, allocations: 0.5107 MB / 497.3 MB, free: 30.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05148/0.59, allocations: 15.66 MB / 0.5009 GB, free: 23.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008406/0.5908, allocations: 73.58 kB / 0.501 GB, free: 23.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00447/0.5953, allocations: 235.5 kB / 0.5012 GB, free: 23.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00503/0.6003, allocations: 2.544 MB / 0.5037 GB, free: 22.11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03417/0.6345, allocations: 13.1 MB / 0.5165 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1069/0.7414, allocations: 53.18 MB / 0.5684 GB, free: 5.617 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02212/0.7635, allocations: 5.914 MB / 0.5742 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006655/0.7702, allocations: 3.234 MB / 0.5773 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02592/0.7961, allocations: 9.633 MB / 0.5867 GB, free: 2.855 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.943e-05/0.7962, allocations: 63.94 kB / 0.5868 GB, free: 2.789 MB / 462.1 MB Notification: Performance of pre-optimization done (n=248): time 6.603e-06/0.7962, allocations: 4 kB / 0.5868 GB, free: 2.785 MB / 462.1 MB Notification: Performance of matching and sorting (n=343): time 0.1691/0.9653, allocations: 40.98 MB / 0.6268 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002312/0.9655, allocations: 245.5 kB / 0.6271 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01592/0.9814, allocations: 5.848 MB / 0.6328 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001313/0.9827, allocations: 77.7 kB / 0.6329 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005523/0.9882, allocations: 4.507 MB / 0.6373 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002925/0.9912, allocations: 1.306 MB / 0.6385 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006679/0.9978, allocations: 1.737 MB / 0.6402 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.998, allocations: 309.1 kB / 0.6405 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007271/1.005, allocations: 4.066 MB / 0.6445 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01283/1.018, allocations: 8.732 MB / 0.653 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3229/1.341, allocations: 13.55 MB / 0.6662 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002824/1.341, allocations: 44.94 kB / 0.6663 GB, free: 165.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.04074/1.382, allocations: 16.28 MB / 0.6822 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005012/1.383, allocations: 72.56 kB / 0.6823 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006204/1.383, allocations: 158.9 kB / 0.6824 GB, free: 163.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01572/1.399, allocations: 4.276 MB / 0.6866 GB, free: 163 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007581/1.406, allocations: 1.895 MB / 0.6884 GB, free: 162.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03302/1.439, allocations: 21.25 MB / 0.7092 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009241/1.449, allocations: 0.6078 MB / 0.7098 GB, free: 151.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002562/1.451, allocations: 486.6 kB / 0.7102 GB, free: 150.7 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * 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 (1027): * Single equations (assignments): 1023 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009259/1.461, allocations: 3.118 MB / 0.7133 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001891/1.462, allocations: 0.5109 MB / 0.7138 GB, free: 147.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02124/1.484, allocations: 10.02 MB / 0.7236 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/1.484, allocations: 36 kB / 0.7236 GB, free: 137.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-05/1.484, allocations: 19.98 kB / 0.7236 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-05/1.484, allocations: 15.95 kB / 0.7236 GB, free: 137.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03998/1.524, allocations: 18.04 MB / 0.7413 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.665e-05/1.524, allocations: 8 kB / 0.7413 GB, free: 119.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002547/1.526, allocations: 500 kB / 0.7417 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/1.54, allocations: 3.839 MB / 0.7455 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009055/1.54, allocations: 67.66 kB / 0.7456 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02506/1.565, allocations: 18.85 MB / 0.764 GB, free: 96.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/1.565, allocations: 8 kB / 0.764 GB, free: 96.09 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02644/1.592, allocations: 14.82 MB / 0.7784 GB, free: 81.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004542/1.596, allocations: 1.155 MB / 0.7796 GB, free: 80.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001924/1.598, allocations: 64 kB / 0.7796 GB, free: 80.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004481/1.603, allocations: 323.5 kB / 0.7799 GB, free: 79.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009286/1.604, allocations: 244.7 kB / 0.7802 GB, free: 79.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002983/1.604, allocations: 94.88 kB / 0.7803 GB, free: 79.41 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006157/1.61, allocations: 3.537 MB / 0.7837 GB, free: 75.88 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/1.61, allocations: 0 / 0.7837 GB, free: 75.88 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01181/1.622, allocations: 1.997 MB / 0.7857 GB, free: 73.9 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001484/1.624, allocations: 287.1 kB / 0.7859 GB, free: 73.63 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01515/1.639, allocations: 9.323 MB / 0.795 GB, free: 64.3 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.483e-05/1.639, allocations: 8.656 kB / 0.7951 GB, free: 64.29 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005655/1.644, allocations: 3.451 MB / 0.7984 GB, free: 60.83 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007427/1.652, allocations: 0.6516 MB / 0.7991 GB, free: 60.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02771/1.68, allocations: 16.18 MB / 0.8149 GB, free: 43.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006025/1.686, allocations: 4.34 MB / 0.8191 GB, free: 39.52 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006309/1.692, allocations: 2.555 MB / 0.8216 GB, free: 36.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001677/1.694, allocations: 336.4 kB / 0.8219 GB, free: 36.63 MB / 0.5294 GB Notification: Performance of SimCode: time 1.412e-06/1.694, allocations: 4 kB / 0.8219 GB, free: 36.63 MB / 0.5294 GB Notification: Performance of Templates: time 0.3667/2.06, allocations: 74.39 MB / 0.8946 GB, free: 186 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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: 9.648837238550186]