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.001224/0.001224, allocations: 104.5 kB / 16.27 MB, free: 5.949 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.001438/0.001438, allocations: 189 kB / 17.19 MB, free: 5.59 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.645/1.645, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2275/0.2275, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 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.001472/0.001472, allocations: 69.19 kB / 382.8 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.1128, allocations: 57.78 MB / 440.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01302/0.1259, allocations: 13.48 MB / 454.1 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01252/0.1385, allocations: 4.805 MB / 458.9 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003322/0.1419, allocations: 95.69 kB / 459 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007018/0.1489, allocations: 3.738 MB / 462.7 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.1554, allocations: 2.194 MB / 464.9 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.1582, allocations: 1.076 MB / 466 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01014/0.1683, allocations: 6.202 MB / 472.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007988/0.1764, allocations: 4.541 MB / 476.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004703/0.1811, allocations: 2.037 MB / 478.8 MB, free: 472 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005453/0.1866, allocations: 2.753 MB / 481.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002183/0.1888, allocations: 428 kB / 482 MB, free: 13.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004029/0.1929, allocations: 1.447 MB / 483.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003709/0.1966, allocations: 2.47 MB / 485.9 MB, free: 9.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00614/0.2028, allocations: 2.863 MB / 488.7 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01341/0.2162, allocations: 8.746 MB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.2163, allocations: 0 / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.205e-06/0.2163, allocations: 0 / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004171/0.2167, allocations: 0 / 497.5 MB, free: 13.7 MB / 382.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.01831/0.235, allocations: 6.461 MB / 0.4921 GB, free: 7.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.2351, allocations: 11.89 kB / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00305/0.2382, allocations: 0.9119 MB / 0.493 GB, free: 6.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04003/0.2782, allocations: 6.02 MB / 0.4989 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.2913, allocations: 5.203 MB / 0.504 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004512/0.2918, allocations: 291.4 kB / 0.5043 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001994/0.2938, allocations: 375.8 kB / 0.5046 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02438/0.3182, allocations: 11.92 MB / 0.5163 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000266/0.3186, allocations: 51.59 kB / 0.5163 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001466/0.32, allocations: 179.8 kB / 0.5165 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0039/0.324, allocations: 2.14 MB / 0.5186 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02285/0.3468, allocations: 10.16 MB / 0.5285 GB, free: 1.008 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2472/0.594, allocations: 47.32 MB / 0.5747 GB, free: 48.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.6072, allocations: 5.785 MB / 0.5804 GB, free: 45.64 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/0.6102, allocations: 2.928 MB / 0.5832 GB, free: 43.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01094/0.6211, allocations: 8.752 MB / 0.5918 GB, free: 35.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.207e-05/0.6212, allocations: 59.81 kB / 0.5918 GB, free: 35.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=206): time 4.719e-06/0.6212, allocations: 4 kB / 0.5918 GB, free: 35.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=262): time 0.1106/0.7318, allocations: 34.83 MB / 0.6258 GB, free: 148 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.7319, allocations: 209.9 kB / 0.626 GB, free: 15.9 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00671/0.7386, allocations: 4.83 MB / 0.6308 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005607/0.7392, allocations: 65.7 kB / 0.6308 GB, free: 11 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002712/0.742, allocations: 3.598 MB / 0.6343 GB, free: 7.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001211/0.7432, allocations: 0.966 MB / 0.6353 GB, free: 6.445 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002024/0.7452, allocations: 1.348 MB / 0.6366 GB, free: 5.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.7453, allocations: 301.1 kB / 0.6369 GB, free: 4.793 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004296/0.7496, allocations: 3.027 MB / 0.6398 GB, free: 1.762 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006823/0.7565, allocations: 6.848 MB / 0.6465 GB, free: 9.035 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01307/0.7696, allocations: 10.67 MB / 0.6569 GB, free: 12.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.316e-05/0.7697, allocations: 39.94 kB / 0.657 GB, free: 12.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02683/0.7966, allocations: 13.22 MB / 0.6699 GB, free: 15.23 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.7968, allocations: 67.94 kB / 0.67 GB, free: 15.16 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002535/0.7971, allocations: 132 kB / 0.6701 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01294/0.81, allocations: 4.221 MB / 0.6742 GB, free: 10.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004862/0.8149, allocations: 1.423 MB / 0.6756 GB, free: 9.375 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04229/0.8573, allocations: 28.59 MB / 0.7035 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006241/0.8636, allocations: 403.3 kB / 0.7039 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/0.8653, allocations: 396 kB / 0.7043 GB, free: 11.6 MB / 0.4981 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.007015/0.8724, allocations: 2.478 MB / 0.7067 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001561/0.874, allocations: 450.1 kB / 0.7071 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/0.8944, allocations: 8.241 MB / 0.7152 GB, free: 400 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/0.8945, allocations: 31.94 kB / 0.7152 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.796e-05/0.8946, allocations: 12 kB / 0.7152 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.958e-05/0.8946, allocations: 11.95 kB / 0.7152 GB, free: 344 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2724/1.167, allocations: 16.88 MB / 0.7317 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.639e-05/1.167, allocations: 8.156 kB / 0.7317 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/1.169, allocations: 302.8 kB / 0.732 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009647/1.178, allocations: 3.805 MB / 0.7357 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004461/1.179, allocations: 49.78 kB / 0.7358 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02965/1.208, allocations: 27.3 MB / 0.7624 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.209, allocations: 8 kB / 0.7624 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01941/1.228, allocations: 12.11 MB / 0.7743 GB, free: 129.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003439/1.231, allocations: 0.9557 MB / 0.7752 GB, free: 128.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009357/1.232, allocations: 49.16 kB / 0.7752 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002351/1.235, allocations: 167.8 kB / 0.7754 GB, free: 128.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000752/1.236, allocations: 201.9 kB / 0.7756 GB, free: 128 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/1.236, allocations: 68 kB / 0.7757 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004372/1.24, allocations: 3.067 MB / 0.7787 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/1.24, allocations: 4 kB / 0.7787 GB, free: 124.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006627/1.247, allocations: 1.418 MB / 0.78 GB, free: 123.4 MB / 0.4981 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.01823/1.265, allocations: 12.79 MB / 0.7925 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0149/1.28, allocations: 9.763 MB / 0.8021 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.28, allocations: 0 / 0.8021 GB, free: 100.9 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005316/1.285, allocations: 3.479 MB / 0.8055 GB, free: 97.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004343/1.29, allocations: 0.6138 MB / 0.8061 GB, free: 96.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09149/1.381, allocations: 74.09 MB / 0.8784 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004138/1.385, allocations: 3.94 MB / 0.8823 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004385/1.39, allocations: 2.008 MB / 0.8842 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002698/1.393, allocations: 2.374 MB / 0.8865 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of SimCode: time 1.292e-06/1.393, allocations: 0 / 0.8865 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3793/1.772, allocations: 117 MB / 1.001 GB, free: 101.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.25/16.02, allocations: 15.55 kB / 1.001 GB, free: 101.7 MB / 0.5137 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