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.0007628/0.0007631, allocations: 94.55 kB / 17.35 MB, free: 6.344 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.000788/0.000788, allocations: 168.6 kB / 18.25 MB, free: 5.508 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.305/1.305, allocations: 223.3 MB / 242.3 MB, free: 200 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1935/0.1935, allocations: 44.24 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003127/0.000313, allocations: 10.03 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1135, allocations: 61.91 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3091/0.4226, allocations: 56.67 MB / 0.5166 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02962/0.4523, allocations: 12.28 MB / 0.5286 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01698/0.4693, allocations: 249.4 kB / 0.5288 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002787/0.4721, allocations: 0.671 MB / 0.5295 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008934/0.4811, allocations: 2.602 MB / 0.532 GB, free: 6.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003322/0.4844, allocations: 1.161 MB / 0.5332 GB, free: 6.121 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01221/0.4967, allocations: 10.73 MB / 0.5437 GB, free: 1.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01264/0.5093, allocations: 7.833 MB / 0.5513 GB, free: 12.1 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005508/0.5149, allocations: 1.988 MB / 0.5532 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00652/0.5215, allocations: 3.522 MB / 0.5567 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002084/0.5236, allocations: 264 kB / 0.5569 GB, free: 6.625 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004647/0.5282, allocations: 1.52 MB / 0.5584 GB, free: 5.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00455/0.5328, allocations: 2.946 MB / 0.5613 GB, free: 2.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007389/0.5402, allocations: 3.41 MB / 0.5646 GB, free: 14.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01449/0.5548, allocations: 11.56 MB / 0.5759 GB, free: 3.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.5548, allocations: 0 / 0.5759 GB, free: 3.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.5548, allocations: 0 / 0.5759 GB, free: 3.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004091/0.5552, allocations: 0 / 0.5759 GB, free: 3.504 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.01542/0.5707, allocations: 6.534 MB / 0.5823 GB, free: 12.93 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.635e-05/0.5708, allocations: 12.03 kB / 0.5823 GB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004313/0.5751, allocations: 1.295 MB / 0.5836 GB, free: 11.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03154/0.6066, allocations: 5.817 MB / 0.5893 GB, free: 5.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.6175, allocations: 5.141 MB / 0.5943 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004701/0.618, allocations: 397.8 kB / 0.5947 GB, free: 396 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.6205, allocations: 0.5582 MB / 0.5952 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04079/0.6613, allocations: 18.87 MB / 0.6136 GB, free: 12.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003897/0.6617, allocations: 71.3 kB / 0.6137 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002158/0.6639, allocations: 252 kB / 0.6139 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005553/0.6695, allocations: 3.432 MB / 0.6173 GB, free: 8.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03781/0.7073, allocations: 16.56 MB / 0.6335 GB, free: 7.934 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.08686/0.7942, allocations: 66.77 MB / 0.6987 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4557/1.25, allocations: 6.262 MB / 0.7048 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004577/1.255, allocations: 2.832 MB / 0.7075 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0243/1.279, allocations: 13.81 MB / 0.721 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.829e-05/1.279, allocations: 61.25 kB / 0.7211 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=284): time 8.056e-06/1.279, allocations: 0 / 0.7211 GB, free: 175.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=345): time 0.08097/1.36, allocations: 25.27 MB / 0.7458 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/1.36, allocations: 186.1 kB / 0.7459 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00693/1.367, allocations: 5.9 MB / 0.7517 GB, free: 159.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004978/1.368, allocations: 73.64 kB / 0.7518 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001974/1.37, allocations: 4.993 MB / 0.7566 GB, free: 154.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009335/1.371, allocations: 1.28 MB / 0.7579 GB, free: 152.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000751/1.371, allocations: 0.7926 MB / 0.7587 GB, free: 152.1 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.207e-05/1.371, allocations: 305.1 kB / 0.759 GB, free: 151.8 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003842/1.375, allocations: 3.29 MB / 0.7622 GB, free: 148.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006734/1.382, allocations: 8.767 MB / 0.7707 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01319/1.395, allocations: 13.04 MB / 0.7835 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002702/1.395, allocations: 59.94 kB / 0.7835 GB, free: 121.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1238) (initialization): time 0.0257/1.421, allocations: 12.82 MB / 0.796 GB, free: 108.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002099/1.421, allocations: 84 kB / 0.7961 GB, free: 108.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00028/1.422, allocations: 192 kB / 0.7963 GB, free: 108.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/1.426, allocations: 1.315 MB / 0.7976 GB, free: 106.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006515/1.432, allocations: 2.167 MB / 0.7997 GB, free: 104.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/1.442, allocations: 7.291 MB / 0.8068 GB, free: 97.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006375/1.449, allocations: 0.5009 MB / 0.8073 GB, free: 96.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/1.45, allocations: 0.5438 MB / 0.8078 GB, free: 96.2 MB / 0.5294 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.005792/1.456, allocations: 3.447 MB / 0.8112 GB, free: 92.74 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.457, allocations: 0.5282 MB / 0.8117 GB, free: 92.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/1.469, allocations: 5.414 MB / 0.817 GB, free: 86.73 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.473e-05/1.469, allocations: 37.09 kB / 0.817 GB, free: 86.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/1.469, allocations: 8 kB / 0.8171 GB, free: 86.69 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.776e-05/1.469, allocations: 11.95 kB / 0.8171 GB, free: 86.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0283/1.497, allocations: 14.03 MB / 0.8308 GB, free: 72.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.786e-05/1.497, allocations: 14.06 kB / 0.8308 GB, free: 72.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00203/1.499, allocations: 0.4922 MB / 0.8313 GB, free: 71.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003068/1.502, allocations: 0.813 MB / 0.8321 GB, free: 71.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003577/1.503, allocations: 76.84 kB / 0.8321 GB, free: 71.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007603/1.51, allocations: 5.329 MB / 0.8373 GB, free: 65.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/1.51, allocations: 23.94 kB / 0.8374 GB, free: 65.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.523, allocations: 8.286 MB / 0.8454 GB, free: 56.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/1.525, allocations: 0.576 MB / 0.846 GB, free: 56.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/1.526, allocations: 69.56 kB / 0.8461 GB, free: 56.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002859/1.529, allocations: 128.6 kB / 0.8462 GB, free: 56.18 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006396/1.53, allocations: 224.7 kB / 0.8464 GB, free: 55.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003067/1.53, allocations: 101.9 kB / 0.8465 GB, free: 55.87 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006806/1.537, allocations: 3.672 MB / 0.8501 GB, free: 52.23 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.81e-07/1.537, allocations: 0 / 0.8501 GB, free: 52.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009064/1.546, allocations: 1.634 MB / 0.8517 GB, free: 50.61 MB / 0.5294 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.01412/1.56, allocations: 9.05 MB / 0.8605 GB, free: 41.27 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01153/1.572, allocations: 7.792 MB / 0.8681 GB, free: 33.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-05/1.572, allocations: 7.938 kB / 0.8681 GB, free: 33.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003604/1.575, allocations: 2.368 MB / 0.8705 GB, free: 31.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01351/1.589, allocations: 0.6854 MB / 0.8711 GB, free: 30.42 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4002/1.989, allocations: 90.59 MB / 0.9596 GB, free: 115.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008785/1.998, allocations: 5.162 MB / 0.9646 GB, free: 111.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008138/2.006, allocations: 2.963 MB / 0.9675 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004737/2.011, allocations: 3.331 MB / 0.9708 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.412e-06/2.011, allocations: 0 / 0.9708 GB, free: 105.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.136/2.147, allocations: 112.8 MB / 1.081 GB, free: 9.051 MB / 0.5451 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/2.147, allocations: 220.2 kB / 1.081 GB, free: 8.801 MB / 0.5451 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.816/6.963, allocations: 1.422 kB / 1.081 GB, free: 8.801 MB / 0.5451 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_JointSSR_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 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.mat","/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