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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_4.0.0_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.00137/0.00137, allocations: 114.4 kB / 17.78 MB, free: 5.266 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.001484/0.001484, allocations: 187.8 kB / 18.71 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1995/0.1995, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3974/0.3987, allocations: 60.81 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSR): time 0.01991/0.4186, allocations: 17.69 MB / 0.5362 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01358/0.4323, allocations: 5.69 MB / 0.5417 GB, free: 2.117 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004034/0.4363, allocations: 116.2 kB / 0.5418 GB, free: 2.094 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008326/0.4447, allocations: 4.583 MB / 0.5463 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008418/0.4532, allocations: 3.015 MB / 0.5492 GB, free: 12.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003577/0.4568, allocations: 1.494 MB / 0.5507 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01368/0.4705, allocations: 8.755 MB / 0.5593 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00863/0.4792, allocations: 6.447 MB / 0.5656 GB, free: 12.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006042/0.4853, allocations: 3.01 MB / 0.5685 GB, free: 9.07 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007851/0.4931, allocations: 4.276 MB / 0.5727 GB, free: 4.781 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00347/0.4966, allocations: 0.6602 MB / 0.5733 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006482/0.5031, allocations: 1.846 MB / 0.5751 GB, free: 2.273 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005929/0.5091, allocations: 3.749 MB / 0.5788 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007318/0.5165, allocations: 4.214 MB / 0.5829 GB, free: 10.28 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01767/0.5342, allocations: 13.58 MB / 0.5962 GB, free: 12.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.777e-06/0.5342, allocations: 4 kB / 0.5962 GB, free: 12.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5342, allocations: 0 / 0.5962 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005723/0.5348, allocations: 0 / 0.5962 GB, free: 12.64 MB / 462.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.0233/0.5581, allocations: 9.013 MB / 0.605 GB, free: 3.543 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.5582, allocations: 8.031 kB / 0.605 GB, free: 3.535 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/0.5748, allocations: 4.096 MB / 0.609 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01251/0.5873, allocations: 5.173 MB / 0.614 GB, free: 10.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000469/0.5878, allocations: 434.9 kB / 0.6144 GB, free: 9.738 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002647/0.5905, allocations: 0.6049 MB / 0.615 GB, free: 9.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04306/0.6336, allocations: 20.62 MB / 0.6352 GB, free: 3.371 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003739/0.634, allocations: 75.3 kB / 0.6352 GB, free: 3.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002817/0.6368, allocations: 271.7 kB / 0.6355 GB, free: 3.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006084/0.6429, allocations: 3.722 MB / 0.6391 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03949/0.6824, allocations: 18.19 MB / 0.6569 GB, free: 13.09 MB / 0.5137 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.6507/1.333, allocations: 74.3 MB / 0.7294 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/1.35, allocations: 7.444 MB / 0.7367 GB, free: 118.9 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005672/1.356, allocations: 4.116 MB / 0.7407 GB, free: 118.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02417/1.38, allocations: 18.21 MB / 0.7585 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/1.38, allocations: 67.38 kB / 0.7586 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=335): time 5.621e-06/1.38, allocations: 0 / 0.7586 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=419): time 0.1092/1.489, allocations: 35.01 MB / 0.7928 GB, free: 81.32 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/1.49, allocations: 200.4 kB / 0.793 GB, free: 81.09 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007278/1.497, allocations: 6.477 MB / 0.7993 GB, free: 74.61 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0008866/1.498, allocations: 85.7 kB / 0.7994 GB, free: 74.52 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002301/1.5, allocations: 5.365 MB / 0.8046 GB, free: 69.16 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/1.501, allocations: 1.538 MB / 0.8061 GB, free: 67.63 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002312/1.504, allocations: 2.138 MB / 0.8082 GB, free: 65.49 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.821e-05/1.504, allocations: 301.1 kB / 0.8085 GB, free: 65.19 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004896/1.509, allocations: 4.331 MB / 0.8127 GB, free: 60.86 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007082/1.516, allocations: 10.28 MB / 0.8228 GB, free: 47.77 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0148/1.531, allocations: 15.67 MB / 0.8381 GB, free: 29.37 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/1.531, allocations: 60 kB / 0.8381 GB, free: 29.31 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1417) (initialization): time 0.03046/1.561, allocations: 16.36 MB / 0.8541 GB, free: 12.93 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/1.562, allocations: 98.69 kB / 0.8542 GB, free: 12.83 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001949/1.562, allocations: 208 kB / 0.8544 GB, free: 12.63 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006843/1.569, allocations: 2.357 MB / 0.8567 GB, free: 10.27 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007584/1.576, allocations: 2.468 MB / 0.8591 GB, free: 7.797 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01831/1.594, allocations: 12.75 MB / 0.8715 GB, free: 10.89 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008938/1.603, allocations: 0.5884 MB / 0.8721 GB, free: 10.31 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001995/1.606, allocations: 0.6016 MB / 0.8727 GB, free: 9.707 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 (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.008864/1.614, allocations: 3.761 MB / 0.8764 GB, free: 5.93 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001844/1.616, allocations: 0.594 MB / 0.877 GB, free: 5.328 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0209/1.637, allocations: 8.326 MB / 0.8851 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-05/1.637, allocations: 66.08 kB / 0.8852 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.637, allocations: 19.94 kB / 0.8852 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-05/1.637, allocations: 15.94 kB / 0.8852 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0424/1.68, allocations: 18.84 MB / 0.9036 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/1.68, allocations: 12 kB / 0.9036 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/1.683, allocations: 0.624 MB / 0.9042 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006677/1.69, allocations: 1.807 MB / 0.906 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006778/1.69, allocations: 82.91 kB / 0.9061 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/1.708, allocations: 10.83 MB / 0.9166 GB, free: 12.23 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.01e-05/1.708, allocations: 23.88 kB / 0.9167 GB, free: 12.21 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0242/1.732, allocations: 12.46 MB / 0.9288 GB, free: 15.47 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002334/1.735, allocations: 0.6184 MB / 0.9294 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/1.737, allocations: 87.83 kB / 0.9295 GB, free: 14.75 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003905/1.74, allocations: 199.7 kB / 0.9297 GB, free: 14.55 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/1.742, allocations: 265.8 kB / 0.93 GB, free: 14.29 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000553/1.742, allocations: 116 kB / 0.9301 GB, free: 14.18 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.008194/1.75, allocations: 4.024 MB / 0.934 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.4e-07/1.75, allocations: 0 / 0.934 GB, free: 10.16 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.01143/1.762, allocations: 1.949 MB / 0.9359 GB, free: 8.223 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.001447/1.763, allocations: 300.1 kB / 0.9362 GB, free: 7.93 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01939/1.783, allocations: 10.17 MB / 0.9461 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.897e-05/1.783, allocations: 8.062 kB / 0.9461 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00633/1.789, allocations: 3.386 MB / 0.9494 GB, free: 10.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007362/1.796, allocations: 0.7903 MB / 0.9502 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.308/2.104, allocations: 17.65 MB / 0.9674 GB, free: 236 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00851/2.113, allocations: 5.578 MB / 0.9729 GB, free: 235.1 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008056/2.121, allocations: 3.316 MB / 0.9761 GB, free: 235 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/2.123, allocations: 416.2 kB / 0.9765 GB, free: 235 MB / 0.6544 GB Notification: Performance of SimCode: time 9.32e-07/2.123, allocations: 0 / 0.9765 GB, free: 235 MB / 0.6544 GB Notification: Performance of Templates: time 0.1125/2.235, allocations: 69.62 MB / 1.045 GB, free: 181.5 MB / 0.6544 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSR/JointUSR.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches