Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.00132/0.00132, allocations: 109.6 kB / 16.4 MB, free: 6.332 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.00128/0.00128, allocations: 186.2 kB / 17.33 MB, free: 5.816 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.3 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.1959/0.1959, allocations: 43.53 MB / 314.1 MB, free: 472 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.00147/0.00147, allocations: 60.47 kB / 441.3 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1038, allocations: 57.8 MB / 499.1 MB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01327/0.1171, allocations: 13.48 MB / 0.5005 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009113/0.1262, allocations: 4.81 MB / 0.5052 GB, free: 9.965 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00209/0.1283, allocations: 95.69 kB / 0.5053 GB, free: 9.871 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006538/0.1349, allocations: 3.734 MB / 0.509 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005309/0.1403, allocations: 2.261 MB / 0.5112 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.1426, allocations: 1.08 MB / 0.5122 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007807/0.1504, allocations: 6.195 MB / 0.5183 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006084/0.1565, allocations: 4.526 MB / 0.5227 GB, free: 7.969 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003539/0.1601, allocations: 2.044 MB / 0.5247 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0039/0.164, allocations: 2.777 MB / 0.5274 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001323/0.1654, allocations: 428 kB / 0.5278 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.1688, allocations: 1.447 MB / 0.5292 GB, free: 1.266 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2218/0.3907, allocations: 2.503 MB / 0.5317 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004499/0.3952, allocations: 2.863 MB / 0.5345 GB, free: 11.5 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01261/0.4079, allocations: 9.014 MB / 0.5433 GB, free: 10.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4079, allocations: 0 / 0.5433 GB, free: 10.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4079, allocations: 1.969 kB / 0.5433 GB, free: 10.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003222/0.4083, allocations: 0 / 0.5433 GB, free: 10.15 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: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.02062/0.4289, allocations: 6.638 MB / 0.5498 GB, free: 7.562 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.429, allocations: 13.67 kB / 0.5498 GB, free: 7.559 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00374/0.4327, allocations: 0.9095 MB / 0.5507 GB, free: 7.469 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0382/0.4709, allocations: 6.056 MB / 0.5566 GB, free: 7.023 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01199/0.483, allocations: 5.31 MB / 0.5618 GB, free: 4.531 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001869/0.4832, allocations: 284.2 kB / 0.562 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001329/0.4845, allocations: 390.5 kB / 0.5624 GB, free: 4.336 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02028/0.5048, allocations: 11.9 MB / 0.574 GB, free: 13.17 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001874/0.505, allocations: 57.38 kB / 0.5741 GB, free: 13.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006465/0.5057, allocations: 182.9 kB / 0.5743 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003087/0.5088, allocations: 2.137 MB / 0.5763 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.5288, allocations: 10.17 MB / 0.5863 GB, free: 3.203 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05915/0.5879, allocations: 47.16 MB / 0.6323 GB, free: 3.375 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01405/0.602, allocations: 5.789 MB / 0.638 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003486/0.6055, allocations: 2.937 MB / 0.6409 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01402/0.6196, allocations: 8.772 MB / 0.6494 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.6197, allocations: 54.39 kB / 0.6495 GB, free: 1.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 4.99e-06/0.6197, allocations: 0 / 0.6495 GB, free: 1.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1271/0.7468, allocations: 35.13 MB / 0.6838 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/0.747, allocations: 215.6 kB / 0.684 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009627/0.7566, allocations: 4.839 MB / 0.6887 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007421/0.7574, allocations: 65.7 kB / 0.6888 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003232/0.7606, allocations: 3.729 MB / 0.6924 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001582/0.7622, allocations: 1.017 MB / 0.6934 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003958/0.7662, allocations: 1.35 MB / 0.6947 GB, free: 3.336 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.7664, allocations: 305.1 kB / 0.695 GB, free: 3.035 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005501/0.7719, allocations: 3.031 MB / 0.698 GB, free: 0 / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009361/0.7813, allocations: 6.841 MB / 0.7047 GB, free: 7.352 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01511/0.7965, allocations: 10.67 MB / 0.7151 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/0.7967, allocations: 40 kB / 0.7151 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02979/0.8265, allocations: 13.23 MB / 0.728 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001921/0.8267, allocations: 67.94 kB / 0.7281 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002677/0.827, allocations: 136 kB / 0.7282 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01259/0.8396, allocations: 4.229 MB / 0.7324 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005107/0.8447, allocations: 1.411 MB / 0.7337 GB, free: 8.566 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2799/1.125, allocations: 28.58 MB / 0.7617 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006541/1.131, allocations: 394.9 kB / 0.762 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.133, allocations: 398.2 kB / 0.7624 GB, free: 201.6 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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 (756): * Single equations (assignments): 750 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,50,50.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,21)} Notification: Performance of prepare postOptimizeDAE: time 0.005413/1.138, allocations: 2.476 MB / 0.7648 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001031/1.139, allocations: 468.8 kB / 0.7653 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.016/1.155, allocations: 8.249 MB / 0.7733 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.995e-05/1.155, allocations: 27.5 kB / 0.7734 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.263e-05/1.155, allocations: 12.38 kB / 0.7734 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.14e-05/1.155, allocations: 12.77 kB / 0.7734 GB, free: 200.6 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.183, allocations: 16.74 MB / 0.7897 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.049e-05/1.183, allocations: 4 kB / 0.7897 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/1.184, allocations: 301 kB / 0.79 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009024/1.193, allocations: 3.805 MB / 0.7937 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004115/1.193, allocations: 51.19 kB / 0.7938 GB, free: 193.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02808/1.222, allocations: 27.34 MB / 0.8205 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/1.222, allocations: 11.94 kB / 0.8205 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01744/1.239, allocations: 12.15 MB / 0.8324 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002801/1.242, allocations: 0.9824 MB / 0.8333 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008915/1.243, allocations: 46.02 kB / 0.8334 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002208/1.245, allocations: 167.8 kB / 0.8335 GB, free: 156.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007513/1.246, allocations: 194 kB / 0.8337 GB, free: 156 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001926/1.246, allocations: 71.75 kB / 0.8338 GB, free: 156 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004287/1.25, allocations: 3.071 MB / 0.8368 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/1.25, allocations: 0 / 0.8368 GB, free: 152.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007132/1.257, allocations: 1.422 MB / 0.8382 GB, free: 151.5 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.w) * 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 (158): * Single equations (assignments): 152 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(8,43,50.0%), (2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01771/1.275, allocations: 12.83 MB / 0.8507 GB, free: 138.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01164/1.287, allocations: 8.204 MB / 0.8587 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/1.287, allocations: 0 / 0.8587 GB, free: 130.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004781/1.292, allocations: 3.499 MB / 0.8621 GB, free: 126.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003825/1.295, allocations: 0.6137 MB / 0.8627 GB, free: 126.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08918/1.385, allocations: 64.46 MB / 0.9257 GB, free: 55.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003731/1.388, allocations: 3.933 MB / 0.9295 GB, free: 51.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003873/1.392, allocations: 2.02 MB / 0.9315 GB, free: 49.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002421/1.395, allocations: 2.374 MB / 0.9338 GB, free: 47.3 MB / 0.5919 GB Notification: Performance of SimCode: time 9.11e-07/1.395, allocations: 0 / 0.9338 GB, free: 47.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.386/1.781, allocations: 113.3 MB / 1.044 GB, free: 162 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.61/22.39, allocations: 11.2 kB / 1.044 GB, free: 162 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches