Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 117.2 kB / 17.78 MB, free: 5.254 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.00178/0.00178, allocations: 185 kB / 18.72 MB, free: 4.332 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.434/1.434, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2147/0.2147, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 67.88 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3371/0.339, allocations: 60.82 MB / 0.5184 GB, free: 3.281 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.01858/0.3575, allocations: 16.34 MB / 0.5344 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01347/0.371, allocations: 5.355 MB / 0.5396 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002826/0.3738, allocations: 97.56 kB / 0.5397 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008038/0.3819, allocations: 4.211 MB / 0.5438 GB, free: 500 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007724/0.3896, allocations: 2.831 MB / 0.5466 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.3928, allocations: 1.267 MB / 0.5478 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.4051, allocations: 7.608 MB / 0.5552 GB, free: 6.324 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007459/0.4126, allocations: 4.97 MB / 0.5601 GB, free: 1.277 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005472/0.418, allocations: 2.683 MB / 0.5627 GB, free: 14.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006522/0.4246, allocations: 3.778 MB / 0.5664 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.4264, allocations: 0.5938 MB / 0.567 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.4303, allocations: 1.764 MB / 0.5687 GB, free: 8.438 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003782/0.4341, allocations: 3.416 MB / 0.572 GB, free: 5.012 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005586/0.4397, allocations: 3.837 MB / 0.5758 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01818/0.4578, allocations: 12.51 MB / 0.588 GB, free: 4.598 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4578, allocations: 7.938 kB / 0.588 GB, free: 4.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.4578, allocations: 0 / 0.588 GB, free: 4.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004073/0.4583, allocations: 0 / 0.588 GB, free: 4.59 MB / 446.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.01997/0.4782, allocations: 8.209 MB / 0.596 GB, free: 12.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4783, allocations: 12.03 kB / 0.596 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003456/0.4817, allocations: 1.299 MB / 0.5973 GB, free: 10.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03071/0.5124, allocations: 5.749 MB / 0.6029 GB, free: 5.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.5232, allocations: 5.222 MB / 0.608 GB, free: 15.91 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003532/0.5236, allocations: 402 kB / 0.6084 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001732/0.5253, allocations: 0.5542 MB / 0.6089 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03693/0.5623, allocations: 18.82 MB / 0.6273 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002268/0.5625, allocations: 71.44 kB / 0.6274 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009607/0.5634, allocations: 247.8 kB / 0.6276 GB, free: 10.78 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005397/0.5688, allocations: 3.424 MB / 0.631 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03741/0.6062, allocations: 16.5 MB / 0.6471 GB, free: 6.828 MB / 0.4981 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.1076/0.7138, allocations: 66.63 MB / 0.7121 GB, free: 2.285 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4356/1.149, allocations: 6.029 MB / 0.718 GB, free: 164.3 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003653/1.153, allocations: 2.657 MB / 0.7206 GB, free: 163.4 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0197/1.173, allocations: 13.85 MB / 0.7342 GB, free: 156.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/1.173, allocations: 61.66 kB / 0.7342 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=284): time 5.21e-06/1.173, allocations: 1.25 kB / 0.7342 GB, free: 156.2 MB / 0.5607 GB Notification: Performance of matching and sorting (n=345): time 0.07648/1.249, allocations: 25.43 MB / 0.7591 GB, free: 143.1 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/1.249, allocations: 188.3 kB / 0.7592 GB, free: 142.9 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006439/1.256, allocations: 5.921 MB / 0.765 GB, free: 137.1 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0005244/1.256, allocations: 73.7 kB / 0.7651 GB, free: 137 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002163/1.258, allocations: 5.189 MB / 0.7702 GB, free: 132.2 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001179/1.26, allocations: 1.338 MB / 0.7715 GB, free: 130.8 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002156/1.262, allocations: 1.878 MB / 0.7733 GB, free: 128.9 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 4.683e-05/1.262, allocations: 305.1 kB / 0.7736 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004017/1.266, allocations: 3.298 MB / 0.7768 GB, free: 125.3 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00571/1.272, allocations: 8.763 MB / 0.7854 GB, free: 113.9 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01253/1.284, allocations: 13.04 MB / 0.7981 GB, free: 98.13 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002193/1.284, allocations: 63.12 kB / 0.7982 GB, free: 98.07 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.02199/1.306, allocations: 12.81 MB / 0.8107 GB, free: 85.21 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/1.306, allocations: 90.5 kB / 0.8108 GB, free: 85.12 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001473/1.307, allocations: 192 kB / 0.8109 GB, free: 84.94 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003718/1.31, allocations: 1.322 MB / 0.8122 GB, free: 83.61 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006314/1.317, allocations: 2.156 MB / 0.8143 GB, free: 81.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/1.327, allocations: 7.852 MB / 0.822 GB, free: 73.47 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007696/1.335, allocations: 0.4994 MB / 0.8225 GB, free: 72.98 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001741/1.336, allocations: 0.543 MB / 0.823 GB, free: 72.43 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 874 * 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 (1152): * Single equations (assignments): 1145 * 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.005453/1.342, allocations: 3.444 MB / 0.8264 GB, free: 68.97 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009309/1.343, allocations: 0.551 MB / 0.8269 GB, free: 68.42 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009398/1.352, allocations: 5.4 MB / 0.8322 GB, free: 62.96 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.142e-05/1.352, allocations: 36 kB / 0.8322 GB, free: 62.93 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.352, allocations: 8 kB / 0.8322 GB, free: 62.92 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.643e-05/1.352, allocations: 19.88 kB / 0.8323 GB, free: 62.9 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.375, allocations: 13.92 MB / 0.8459 GB, free: 48.75 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.375, allocations: 12 kB / 0.8459 GB, free: 48.74 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/1.377, allocations: 499.2 kB / 0.8463 GB, free: 48.25 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00304/1.38, allocations: 0.8132 MB / 0.8471 GB, free: 47.44 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003511/1.381, allocations: 71.98 kB / 0.8472 GB, free: 47.37 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007935/1.388, allocations: 5.811 MB / 0.8529 GB, free: 41.42 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.388, allocations: 19.88 kB / 0.8529 GB, free: 41.4 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01191/1.4, allocations: 8.311 MB / 0.861 GB, free: 32.8 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002267/1.403, allocations: 0.5831 MB / 0.8616 GB, free: 32.2 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/1.404, allocations: 67.98 kB / 0.8617 GB, free: 32.13 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/1.406, allocations: 127.9 kB / 0.8618 GB, free: 32.01 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005541/1.407, allocations: 221.4 kB / 0.862 GB, free: 31.79 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002153/1.407, allocations: 111.7 kB / 0.8621 GB, free: 31.69 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.005299/1.412, allocations: 3.672 MB / 0.8657 GB, free: 28.05 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.2e-07/1.412, allocations: 4 kB / 0.8657 GB, free: 28.04 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007561/1.42, allocations: 1.629 MB / 0.8673 GB, free: 26.41 MB / 0.5607 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.01183/1.432, allocations: 9.068 MB / 0.8761 GB, free: 17.05 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01147/1.443, allocations: 7.485 MB / 0.8834 GB, free: 9.574 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/1.443, allocations: 4 kB / 0.8834 GB, free: 9.57 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.003144/1.446, allocations: 2.213 MB / 0.8856 GB, free: 7.348 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003973/1.45, allocations: 0.7134 MB / 0.8863 GB, free: 6.641 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3696/1.82, allocations: 73.66 MB / 0.9582 GB, free: 199.6 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005586/1.825, allocations: 5.159 MB / 0.9633 GB, free: 197.9 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.005913/1.831, allocations: 2.964 MB / 0.9662 GB, free: 197.8 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003516/1.835, allocations: 3.333 MB / 0.9694 GB, free: 195 MB / 0.6232 GB Notification: Performance of SimCode: time 1.413e-06/1.835, allocations: 0 / 0.9694 GB, free: 195 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/1.988, allocations: 111 MB / 1.078 GB, free: 92.21 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.95/25.93, allocations: 9.703 kB / 1.078 GB, free: 92.2 MB / 0.6232 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointSSR/JointSSR.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches