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.001481/0.001481, allocations: 120.6 kB / 17.09 MB, free: 5.977 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.001612/0.001612, allocations: 196.2 kB / 18.01 MB, free: 5.059 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.489/1.489, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.2122/0.2122, allocations: 43.52 MB / 314.8 MB, free: 460 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.002134/0.002134, allocations: 65.47 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1425, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.0228/0.1653, allocations: 17.86 MB / 0.506 GB, free: 9.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01449/0.1798, allocations: 5.676 MB / 0.5115 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004331/0.1841, allocations: 111.7 kB / 0.5116 GB, free: 4.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009721/0.1938, allocations: 4.637 MB / 0.5161 GB, free: 15.42 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009113/0.2029, allocations: 3.113 MB / 0.5192 GB, free: 12.29 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004147/0.2071, allocations: 1.501 MB / 0.5206 GB, free: 10.79 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.2217, allocations: 8.616 MB / 0.5291 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3174/0.5391, allocations: 5.482 MB / 0.5344 GB, free: 6.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007899/0.547, allocations: 3.035 MB / 0.5374 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009875/0.5568, allocations: 4.285 MB / 0.5416 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0043/0.5611, allocations: 0.663 MB / 0.5422 GB, free: 5.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0079/0.569, allocations: 1.844 MB / 0.544 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008573/0.5776, allocations: 3.83 MB / 0.5478 GB, free: 5.504 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01181/0.5894, allocations: 4.216 MB / 0.5519 GB, free: 4.059 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02401/0.6134, allocations: 13.64 MB / 0.5652 GB, free: 14.8 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.6134, allocations: 0 / 0.5652 GB, free: 14.8 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.6134, allocations: 1.562 kB / 0.5652 GB, free: 14.8 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006426/0.6141, allocations: 3.938 kB / 0.5652 GB, free: 14.8 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.03031/0.6444, allocations: 9.262 MB / 0.5742 GB, free: 8.676 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.6445, allocations: 16.14 kB / 0.5743 GB, free: 8.672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/0.6628, allocations: 4.16 MB / 0.5783 GB, free: 6.527 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01442/0.6772, allocations: 5.383 MB / 0.5836 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004563/0.6777, allocations: 434.7 kB / 0.584 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/0.6806, allocations: 0.6111 MB / 0.5846 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05155/0.7322, allocations: 20.62 MB / 0.6047 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003471/0.7325, allocations: 77.83 kB / 0.6048 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002207/0.7347, allocations: 273.3 kB / 0.6051 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006944/0.7417, allocations: 3.715 MB / 0.6087 GB, free: 8.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04519/0.7868, allocations: 18.2 MB / 0.6265 GB, free: 7.031 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.1337/0.9206, allocations: 74.43 MB / 0.6991 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02131/0.9419, allocations: 7.177 MB / 0.7062 GB, free: 4.188 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00765/0.9495, allocations: 3.815 MB / 0.7099 GB, free: 364 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03982/0.9894, allocations: 18.24 MB / 0.7277 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.79e-05/0.9894, allocations: 67.59 kB / 0.7278 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=335): time 7.735e-06/0.9894, allocations: 4 kB / 0.7278 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=419): time 0.4181/1.408, allocations: 35.47 MB / 0.7624 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/1.408, allocations: 194.3 kB / 0.7626 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01375/1.421, allocations: 6.531 MB / 0.769 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0009625/1.422, allocations: 82.45 kB / 0.769 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.004675/1.427, allocations: 5.59 MB / 0.7745 GB, free: 195.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002471/1.43, allocations: 1.612 MB / 0.7761 GB, free: 194.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004007/1.434, allocations: 2.146 MB / 0.7782 GB, free: 193 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.57e-05/1.434, allocations: 305.2 kB / 0.7785 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007588/1.441, allocations: 4.337 MB / 0.7827 GB, free: 191.3 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009889/1.451, allocations: 10.28 MB / 0.7927 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0162/1.467, allocations: 15.68 MB / 0.8081 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002471/1.467, allocations: 58.38 kB / 0.8081 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03382/1.501, allocations: 16.37 MB / 0.8241 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004296/1.502, allocations: 92 kB / 0.8242 GB, free: 161.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004642/1.502, allocations: 208 kB / 0.8244 GB, free: 160.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007797/1.51, allocations: 2.366 MB / 0.8267 GB, free: 159.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0087/1.519, allocations: 2.469 MB / 0.8291 GB, free: 157.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/1.537, allocations: 12.75 MB / 0.8415 GB, free: 145.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009411/1.546, allocations: 0.5833 MB / 0.8421 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002172/1.548, allocations: 0.5987 MB / 0.8427 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.008311/1.557, allocations: 3.786 MB / 0.8464 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002462/1.559, allocations: 0.6247 MB / 0.847 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.578, allocations: 8.298 MB / 0.8551 GB, free: 131.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-05/1.578, allocations: 65 kB / 0.8552 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-05/1.578, allocations: 8 kB / 0.8552 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.858e-05/1.578, allocations: 23.88 kB / 0.8552 GB, free: 131.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04567/1.624, allocations: 18.82 MB / 0.8736 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.442e-05/1.624, allocations: 13 kB / 0.8736 GB, free: 112.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003008/1.627, allocations: 0.6315 MB / 0.8742 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006458/1.633, allocations: 1.81 MB / 0.876 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001184/1.634, allocations: 82.17 kB / 0.8761 GB, free: 110 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01527/1.649, allocations: 10.84 MB / 0.8866 GB, free: 99.04 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-05/1.649, allocations: 15.94 kB / 0.8867 GB, free: 99.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02204/1.672, allocations: 12.48 MB / 0.8988 GB, free: 86.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004362/1.676, allocations: 1.196 MB / 0.9 GB, free: 85.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002816/1.679, allocations: 75.98 kB / 0.9001 GB, free: 84.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005003/1.684, allocations: 199.8 kB / 0.9003 GB, free: 84.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/1.685, allocations: 262.8 kB / 0.9005 GB, free: 84.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007132/1.686, allocations: 120.5 kB / 0.9006 GB, free: 84.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008514/1.694, allocations: 4.056 MB / 0.9046 GB, free: 80.36 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.31e-07/1.694, allocations: 0 / 0.9046 GB, free: 80.36 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01218/1.706, allocations: 1.957 MB / 0.9065 GB, free: 78.41 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.001369/1.708, allocations: 285.8 kB / 0.9068 GB, free: 78.12 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01575/1.723, allocations: 9.681 MB / 0.9162 GB, free: 68.45 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/1.723, allocations: 1.75 kB / 0.9162 GB, free: 68.45 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005174/1.729, allocations: 3.121 MB / 0.9193 GB, free: 65.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007997/1.737, allocations: 0.799 MB / 0.9201 GB, free: 64.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03908/1.776, allocations: 17.97 MB / 0.9376 GB, free: 46.36 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008504/1.784, allocations: 5.608 MB / 0.9431 GB, free: 40.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007364/1.792, allocations: 3.316 MB / 0.9463 GB, free: 37.39 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001562/1.793, allocations: 415.4 kB / 0.9467 GB, free: 36.99 MB / 0.5919 GB Notification: Performance of SimCode: time 1.453e-06/1.793, allocations: 0 / 0.9467 GB, free: 36.99 MB / 0.5919 GB Notification: Performance of Templates: time 0.4028/2.196, allocations: 70.32 MB / 1.015 GB, free: 171.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins1/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