Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointSSR,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|j2.s|j2.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001879/0.00188, allocations: 114.9 kB / 17.08 MB, free: 6.016 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.002193/0.002193, allocations: 194.4 kB / 18.02 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2154/0.2154, allocations: 43.53 MB / 314.8 MB, free: 468 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.002545/0.002545, allocations: 77.45 kB / 442.5 MB, free: 5.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.179, allocations: 57.78 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.0292/0.2082, allocations: 16.38 MB / 0.5045 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01927/0.2276, allocations: 5.311 MB / 0.5097 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004887/0.2325, allocations: 95.75 kB / 0.5098 GB, free: 5.953 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01303/0.2456, allocations: 4.166 MB / 0.5139 GB, free: 1.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.2586, allocations: 2.762 MB / 0.5166 GB, free: 15 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005019/0.2636, allocations: 1.271 MB / 0.5178 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01598/0.2797, allocations: 7.454 MB / 0.5251 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0107/0.2904, allocations: 5.852 MB / 0.5308 GB, free: 328 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3329/0.6234, allocations: 2.689 MB / 0.5334 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008576/0.632, allocations: 3.797 MB / 0.5371 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003203/0.6353, allocations: 0.5949 MB / 0.5377 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006514/0.6418, allocations: 1.758 MB / 0.5394 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006831/0.6487, allocations: 3.347 MB / 0.5427 GB, free: 9.562 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01063/0.6593, allocations: 3.803 MB / 0.5464 GB, free: 8.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02167/0.6811, allocations: 12.39 MB / 0.5585 GB, free: 5.426 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.6811, allocations: 0 / 0.5585 GB, free: 5.426 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.6811, allocations: 0 / 0.5585 GB, free: 5.426 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0006085/0.6817, allocations: 0 / 0.5585 GB, free: 5.426 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2564 * Number of variables: 2564 Notification: Performance of Generate backend data structure: time 0.02931/0.7111, allocations: 7.902 MB / 0.5662 GB, free: 432 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.7111, allocations: 13.08 kB / 0.5663 GB, free: 428 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01782/0.729, allocations: 3.943 MB / 0.5701 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/0.7412, allocations: 4.466 MB / 0.5745 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004042/0.7416, allocations: 400.3 kB / 0.5748 GB, free: 11.83 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003179/0.7448, allocations: 0.5533 MB / 0.5754 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04534/0.7902, allocations: 18.88 MB / 0.5938 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003463/0.7906, allocations: 67.92 kB / 0.5939 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002222/0.7928, allocations: 252.3 kB / 0.5941 GB, free: 9.848 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005654/0.7985, allocations: 3.426 MB / 0.5975 GB, free: 6.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04017/0.8386, allocations: 16.63 MB / 0.6137 GB, free: 6.105 MB / 462.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.1078/0.9465, allocations: 66.61 MB / 0.6788 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0174/0.9639, allocations: 6.263 MB / 0.6849 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004986/0.969, allocations: 2.834 MB / 0.6876 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02887/0.9979, allocations: 13.86 MB / 0.7012 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.466e-05/0.998, allocations: 60.56 kB / 0.7012 GB, free: 10.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=284): time 6.933e-06/0.998, allocations: 0 / 0.7012 GB, free: 10.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=345): time 0.1014/1.099, allocations: 25.1 MB / 0.7257 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/1.1, allocations: 188.3 kB / 0.7259 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/1.114, allocations: 5.912 MB / 0.7317 GB, free: 11.46 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0008791/1.115, allocations: 69.7 kB / 0.7318 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.005344/1.121, allocations: 4.961 MB / 0.7366 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.002208/1.123, allocations: 1.285 MB / 0.7379 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006869/1.13, allocations: 1.912 MB / 0.7397 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.13, allocations: 301.1 kB / 0.74 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008231/1.138, allocations: 3.349 MB / 0.7433 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01296/1.151, allocations: 8.88 MB / 0.752 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3292/1.48, allocations: 13.19 MB / 0.7648 GB, free: 189 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000238/1.481, allocations: 55.34 kB / 0.7649 GB, free: 189 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1265) (initialization): time 0.03292/1.514, allocations: 12.99 MB / 0.7776 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001462/1.514, allocations: 87.16 kB / 0.7777 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003549/1.514, allocations: 195.3 kB / 0.7778 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005107/1.519, allocations: 1.322 MB / 0.7791 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008233/1.528, allocations: 2.204 MB / 0.7813 GB, free: 184.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01297/1.541, allocations: 7.842 MB / 0.7889 GB, free: 180.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008565/1.549, allocations: 0.5051 MB / 0.7894 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002085/1.551, allocations: 0.558 MB / 0.79 GB, free: 180.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 880 * Number of states: 0 () * Number of discrete variables: 46 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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 (1179): * Single equations (assignments): 1172 * 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,37,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008903/1.56, allocations: 3.452 MB / 0.7934 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.562, allocations: 0.5184 MB / 0.7939 GB, free: 178.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01179/1.573, allocations: 5.406 MB / 0.7991 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-05/1.573, allocations: 40.66 kB / 0.7992 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.383e-05/1.573, allocations: 10.64 kB / 0.7992 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/1.574, allocations: 11.34 kB / 0.7992 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03271/1.606, allocations: 13.92 MB / 0.8128 GB, free: 167 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-05/1.606, allocations: 17.02 kB / 0.8128 GB, free: 167 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/1.609, allocations: 498.3 kB / 0.8133 GB, free: 166.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003448/1.612, allocations: 0.8112 MB / 0.8141 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005408/1.613, allocations: 79.7 kB / 0.8142 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008465/1.621, allocations: 5.81 MB / 0.8198 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.043e-05/1.621, allocations: 19.94 kB / 0.8198 GB, free: 160.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01348/1.635, allocations: 8.295 MB / 0.8279 GB, free: 153.2 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002798/1.638, allocations: 0.9275 MB / 0.8289 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/1.639, allocations: 67.75 kB / 0.8289 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0026/1.642, allocations: 131.9 kB / 0.829 GB, free: 152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005259/1.642, allocations: 217.4 kB / 0.8293 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002168/1.642, allocations: 104.8 kB / 0.8294 GB, free: 151.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007059/1.649, allocations: 3.674 MB / 0.8329 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.52e-07/1.649, allocations: 0 / 0.8329 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01077/1.66, allocations: 1.65 MB / 0.8346 GB, free: 146.4 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * 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 (269): * Single equations (assignments): 262 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001077/1.661, allocations: 267.2 kB / 0.8348 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01337/1.675, allocations: 7.933 MB / 0.8426 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/1.675, allocations: 0 / 0.8426 GB, free: 138.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003821/1.679, allocations: 2.384 MB / 0.8449 GB, free: 135.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005303/1.684, allocations: 0.7051 MB / 0.8456 GB, free: 135.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03204/1.716, allocations: 15.97 MB / 0.8612 GB, free: 119 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/1.727, allocations: 5.15 MB / 0.8662 GB, free: 113.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/1.729, allocations: 457.8 kB / 0.8666 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.51e-07/1.729, allocations: 0 / 0.8666 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.4788/2.208, allocations: 128.3 MB / 0.9919 GB, free: 198.8 MB / 0.6075 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches