Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.001357/0.001357, allocations: 70.42 kB / 21.24 MB, free: 0.5391 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.001487/0.001487, allocations: 158.5 kB / 24.5 MB, free: 3.711 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.445/1.445, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2011/0.2011, allocations: 32.81 MB / 294.1 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00214/0.00214, allocations: 64.19 kB / 440.6 MB, free: 9.434 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3014, allocations: 65.44 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01271/0.3141, allocations: 15.32 MB / 0.5091 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01035/0.3245, allocations: 5.453 MB / 0.5144 GB, free: 17.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003396/0.3279, allocations: 134.6 kB / 0.5146 GB, free: 17.87 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008021/0.3359, allocations: 4.454 MB / 0.5189 GB, free: 16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007736/0.3436, allocations: 3.084 MB / 0.5219 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.347, allocations: 1.497 MB / 0.5234 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01363/0.3606, allocations: 8.957 MB / 0.5321 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007735/0.3684, allocations: 5.22 MB / 0.5372 GB, free: 8.195 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006331/0.3747, allocations: 3.059 MB / 0.5402 GB, free: 6.469 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00664/0.3813, allocations: 4.371 MB / 0.5445 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002296/0.3836, allocations: 0.6625 MB / 0.5451 GB, free: 3.887 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004135/0.3878, allocations: 1.726 MB / 0.5468 GB, free: 2.945 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003911/0.3917, allocations: 3.798 MB / 0.5505 GB, free: 15.14 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006451/0.3981, allocations: 3.111 MB / 0.5536 GB, free: 12.01 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0189/0.417, allocations: 13.63 MB / 0.5669 GB, free: 14.33 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.417, allocations: 4 kB / 0.5669 GB, free: 14.33 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.417, allocations: 0 / 0.5669 GB, free: 14.33 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003818/0.4174, allocations: 0 / 0.5669 GB, free: 14.33 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2782 * Number of variables: 2782 Notification: Performance of Generate backend data structure: time 0.02383/0.4412, allocations: 9.124 MB / 0.5758 GB, free: 5.121 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.4413, allocations: 8.031 kB / 0.5758 GB, free: 5.113 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0189/0.4602, allocations: 4.45 MB / 0.5801 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.4732, allocations: 5.041 MB / 0.5851 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/0.4737, allocations: 426.9 kB / 0.5855 GB, free: 11.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002158/0.4759, allocations: 0.6011 MB / 0.586 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04135/0.5172, allocations: 20.75 MB / 0.6063 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002229/0.5174, allocations: 75.39 kB / 0.6064 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000825/0.5183, allocations: 275.7 kB / 0.6066 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006059/0.5243, allocations: 3.718 MB / 0.6103 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04059/0.5649, allocations: 18.22 MB / 0.6281 GB, free: 14.28 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5917/1.157, allocations: 69.37 MB / 0.6958 GB, free: 101.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01579/1.172, allocations: 6.524 MB / 0.7022 GB, free: 100.9 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004572/1.177, allocations: 3.828 MB / 0.7059 GB, free: 100.7 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02814/1.205, allocations: 14.84 MB / 0.7204 GB, free: 95.37 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/1.205, allocations: 72.19 kB / 0.7205 GB, free: 95.3 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=335): time 7.824e-06/1.205, allocations: 3.938 kB / 0.7205 GB, free: 95.3 MB / 0.5763 GB Notification: Performance of matching and sorting (n=419): time 0.119/1.324, allocations: 35.9 MB / 0.7555 GB, free: 85.38 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.907e-05/1.324, allocations: 196.5 kB / 0.7557 GB, free: 85.19 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008054/1.332, allocations: 6.187 MB / 0.7618 GB, free: 83.05 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0008754/1.333, allocations: 81.7 kB / 0.7619 GB, free: 82.96 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002965/1.336, allocations: 5.617 MB / 0.7673 GB, free: 77.95 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001758/1.338, allocations: 1.618 MB / 0.7689 GB, free: 76.36 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002514/1.34, allocations: 2.143 MB / 0.771 GB, free: 74.21 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.039e-05/1.341, allocations: 301.1 kB / 0.7713 GB, free: 73.91 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005508/1.346, allocations: 4.343 MB / 0.7755 GB, free: 69.56 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007834/1.354, allocations: 10.31 MB / 0.7856 GB, free: 56.45 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/1.369, allocations: 15.69 MB / 0.8009 GB, free: 38.08 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002057/1.369, allocations: 60 kB / 0.801 GB, free: 38.02 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1413) (initialization): time 0.03057/1.4, allocations: 16.33 MB / 0.8169 GB, free: 21.66 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001253/1.4, allocations: 96 kB / 0.817 GB, free: 21.57 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002223/1.4, allocations: 204 kB / 0.8172 GB, free: 21.37 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007126/1.407, allocations: 2.367 MB / 0.8195 GB, free: 19 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007652/1.415, allocations: 2.48 MB / 0.822 GB, free: 16.52 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/1.432, allocations: 12.45 MB / 0.8341 GB, free: 3.957 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007905/1.44, allocations: 0.6282 MB / 0.8347 GB, free: 3.328 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001878/1.442, allocations: 0.6009 MB / 0.8353 GB, free: 2.73 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 943 * Number of states: 0 () * Number of discrete variables: 49 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1312): * Single equations (assignments): 1305 * Array equations: 6 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007315/1.449, allocations: 3.77 MB / 0.839 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/1.451, allocations: 0.5704 MB / 0.8396 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/1.471, allocations: 8.26 MB / 0.8476 GB, free: 6.062 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.833e-05/1.471, allocations: 60 kB / 0.8477 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-05/1.471, allocations: 12 kB / 0.8477 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.363e-05/1.471, allocations: 19.92 kB / 0.8477 GB, free: 5.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04005/1.511, allocations: 16.12 MB / 0.8635 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.253e-05/1.511, allocations: 12 kB / 0.8635 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0032/1.515, allocations: 0.6201 MB / 0.8641 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007289/1.522, allocations: 1.808 MB / 0.8658 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004945/1.522, allocations: 79.98 kB / 0.8659 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01956/1.542, allocations: 10.56 MB / 0.8762 GB, free: 8.488 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.481e-05/1.542, allocations: 15.94 kB / 0.8762 GB, free: 8.473 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02531/1.567, allocations: 12.44 MB / 0.8884 GB, free: 11.76 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/1.569, allocations: 0.5156 MB / 0.8889 GB, free: 11.24 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001474/1.57, allocations: 79.98 kB / 0.889 GB, free: 11.16 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003584/1.574, allocations: 222.3 kB / 0.8892 GB, free: 10.95 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008343/1.575, allocations: 281.5 kB / 0.8895 GB, free: 10.67 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004236/1.575, allocations: 116 kB / 0.8896 GB, free: 10.55 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.007771/1.583, allocations: 3.571 MB / 0.8931 GB, free: 7.012 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.7e-07/1.583, allocations: 0 / 0.8931 GB, free: 7.012 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01173/1.595, allocations: 1.905 MB / 0.8949 GB, free: 5.109 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 55 * Number of states: 2 (j2.s,j2.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 (331): * Single equations (assignments): 324 * Array equations: 6 * 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 {(2,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.001409/1.596, allocations: 289.4 kB / 0.8952 GB, free: 4.82 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01855/1.615, allocations: 9.688 MB / 0.9046 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.498e-05/1.615, allocations: 12.12 kB / 0.9047 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/1.621, allocations: 3.121 MB / 0.9077 GB, free: 7.996 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005174/1.626, allocations: 0.6808 MB / 0.9084 GB, free: 7.332 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/1.66, allocations: 18.03 MB / 0.926 GB, free: 5.082 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009452/1.67, allocations: 5.104 MB / 0.931 GB, free: 15.94 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.00817/1.678, allocations: 3.265 MB / 0.9341 GB, free: 12.67 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.679, allocations: 388.5 kB / 0.9345 GB, free: 12.29 MB / 0.6857 GB Notification: Performance of SimCode: time 9.01e-07/1.679, allocations: 3.938 kB / 0.9345 GB, free: 12.28 MB / 0.6857 GB Notification: Performance of Templates: time 0.3752/2.055, allocations: 62.66 MB / 0.9957 GB, free: 218.7 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.267154267989099]