Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001154, allocations: 110.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 189.5 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2049/0.2049, allocations: 43.52 MB / 314.1 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 69.47 kB / 441.8 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1611, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.02373/0.1849, allocations: 17.79 MB / 0.5052 GB, free: 9.914 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.202, allocations: 5.664 MB / 0.5108 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/0.2068, allocations: 107.8 kB / 0.5109 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01018/0.2171, allocations: 4.583 MB / 0.5154 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009864/0.2269, allocations: 3.023 MB / 0.5183 GB, free: 12.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.2314, allocations: 1.505 MB / 0.5198 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01485/0.2462, allocations: 8.608 MB / 0.5282 GB, free: 2.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3816/0.6279, allocations: 6.443 MB / 0.5345 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.6381, allocations: 3.04 MB / 0.5374 GB, free: 6.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.6499, allocations: 4.284 MB / 0.5416 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003985/0.654, allocations: 0.6632 MB / 0.5423 GB, free: 5.984 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008237/0.6622, allocations: 1.845 MB / 0.5441 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008566/0.6708, allocations: 3.757 MB / 0.5477 GB, free: 5.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01197/0.6828, allocations: 4.218 MB / 0.5519 GB, free: 4.176 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03019/0.713, allocations: 13.6 MB / 0.5651 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.806e-06/0.7131, allocations: 0 / 0.5651 GB, free: 14.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.035e-06/0.7131, allocations: 0 / 0.5651 GB, free: 14.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007004/0.7138, allocations: 0 / 0.5651 GB, free: 14.84 MB / 430.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.03864/0.7525, allocations: 9.028 MB / 0.574 GB, free: 8.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.7525, allocations: 15.3 kB / 0.574 GB, free: 8.961 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/0.7712, allocations: 4.102 MB / 0.578 GB, free: 6.863 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01753/0.7888, allocations: 5.378 MB / 0.5832 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007094/0.7896, allocations: 436.3 kB / 0.5837 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004407/0.794, allocations: 0.6013 MB / 0.5842 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05932/0.8534, allocations: 20.62 MB / 0.6044 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006128/0.854, allocations: 73.89 kB / 0.6045 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003943/0.858, allocations: 274.5 kB / 0.6047 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007268/0.8653, allocations: 3.717 MB / 0.6083 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04784/0.9132, allocations: 18.2 MB / 0.6261 GB, free: 6.848 MB / 478.1 MB 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.1342/1.047, allocations: 74.3 MB / 0.6987 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01998/1.067, allocations: 7.457 MB / 0.706 GB, free: 3.754 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007148/1.075, allocations: 4.108 MB / 0.71 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03627/1.111, allocations: 18.22 MB / 0.7278 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.718e-05/1.111, allocations: 63.22 kB / 0.7278 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=335): time 1.041e-05/1.111, allocations: 0 / 0.7278 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.4706/1.582, allocations: 35.1 MB / 0.7621 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.588e-05/1.582, allocations: 198.5 kB / 0.7623 GB, free: 200.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01465/1.597, allocations: 6.509 MB / 0.7686 GB, free: 199.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009972/1.598, allocations: 87.91 kB / 0.7687 GB, free: 199 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004746/1.602, allocations: 5.375 MB / 0.774 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.00244/1.605, allocations: 1.544 MB / 0.7755 GB, free: 193.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004959/1.61, allocations: 2.131 MB / 0.7776 GB, free: 192.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.309e-05/1.61, allocations: 305.7 kB / 0.7779 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009031/1.619, allocations: 4.331 MB / 0.7821 GB, free: 191 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01275/1.632, allocations: 10.28 MB / 0.7921 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.017/1.649, allocations: 15.69 MB / 0.8074 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002153/1.649, allocations: 58.75 kB / 0.8075 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03547/1.684, allocations: 16.35 MB / 0.8235 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004775/1.685, allocations: 96 kB / 0.8236 GB, free: 161 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005107/1.686, allocations: 208.2 kB / 0.8238 GB, free: 160.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007745/1.693, allocations: 2.371 MB / 0.8261 GB, free: 159.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008629/1.702, allocations: 2.463 MB / 0.8285 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/1.719, allocations: 12.74 MB / 0.8409 GB, free: 145.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01046/1.729, allocations: 0.5865 MB / 0.8415 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00216/1.731, allocations: 0.5985 MB / 0.8421 GB, free: 144.5 MB / 0.5919 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 (1316): * Single equations (assignments): 1309 * 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.007599/1.739, allocations: 3.779 MB / 0.8458 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/1.74, allocations: 0.5919 MB / 0.8464 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/1.755, allocations: 8.323 MB / 0.8545 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.456e-05/1.755, allocations: 59.98 kB / 0.8545 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.157e-05/1.755, allocations: 12 kB / 0.8546 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/1.755, allocations: 23.92 kB / 0.8546 GB, free: 131.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0365/1.792, allocations: 18.85 MB / 0.873 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.884e-05/1.792, allocations: 12 kB / 0.873 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/1.795, allocations: 0.624 MB / 0.8736 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006138/1.801, allocations: 1.81 MB / 0.8754 GB, free: 110 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006706/1.802, allocations: 83.56 kB / 0.8754 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/1.816, allocations: 10.83 MB / 0.886 GB, free: 98.98 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/1.816, allocations: 19.94 kB / 0.886 GB, free: 98.96 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01964/1.836, allocations: 12.47 MB / 0.8982 GB, free: 86.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00512/1.841, allocations: 1.165 MB / 0.8994 GB, free: 85.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002559/1.843, allocations: 75.98 kB / 0.8994 GB, free: 84.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004283/1.848, allocations: 199.8 kB / 0.8996 GB, free: 84.75 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/1.848, allocations: 268.1 kB / 0.8999 GB, free: 84.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002895/1.849, allocations: 116 kB / 0.9 GB, free: 84.38 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007621/1.856, allocations: 4.056 MB / 0.9039 GB, free: 80.33 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7.51e-07/1.856, allocations: 0 / 0.9039 GB, free: 80.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01241/1.869, allocations: 1.958 MB / 0.9059 GB, free: 78.39 MB / 0.5919 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.001294/1.87, allocations: 287.4 kB / 0.9061 GB, free: 78.11 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01672/1.887, allocations: 10.17 MB / 0.9161 GB, free: 67.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.37e-05/1.887, allocations: 4.812 kB / 0.9161 GB, free: 67.95 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005036/1.892, allocations: 3.383 MB / 0.9194 GB, free: 64.55 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006118/1.898, allocations: 0.8087 MB / 0.9202 GB, free: 63.77 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0318/1.93, allocations: 17.7 MB / 0.9375 GB, free: 45.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007688/1.938, allocations: 5.605 MB / 0.9429 GB, free: 40.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007626/1.945, allocations: 3.319 MB / 0.9462 GB, free: 36.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001489/1.947, allocations: 423.4 kB / 0.9466 GB, free: 36.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.272e-06/1.947, allocations: 0 / 0.9466 GB, free: 36.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.4292/2.376, allocations: 69.79 MB / 1.015 GB, free: 170.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches