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.001275/0.001275, allocations: 108.1 kB / 16.41 MB, free: 6.496 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.001411/0.001411, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.517/1.517, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2226/0.2226, allocations: 43.53 MB / 314.1 MB, free: 452 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.002377/0.002378, allocations: 63.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1508, allocations: 57.8 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01678/0.1676, allocations: 13.48 MB / 0.5006 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01265/0.1803, allocations: 4.802 MB / 0.5052 GB, free: 9.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003457/0.1838, allocations: 95.69 kB / 0.5053 GB, free: 9.852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007802/0.1917, allocations: 3.742 MB / 0.509 GB, free: 6.098 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007596/0.1993, allocations: 2.198 MB / 0.5111 GB, free: 3.891 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003065/0.2024, allocations: 1.084 MB / 0.5122 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009573/0.212, allocations: 6.187 MB / 0.5182 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006985/0.2191, allocations: 4.529 MB / 0.5227 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.2237, allocations: 2.048 MB / 0.5247 GB, free: 5.949 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004851/0.2286, allocations: 2.773 MB / 0.5274 GB, free: 3.168 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001582/0.2303, allocations: 432 kB / 0.5278 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004311/0.2346, allocations: 1.447 MB / 0.5292 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2702/0.5048, allocations: 2.496 MB / 0.5316 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003357/0.5082, allocations: 2.862 MB / 0.5344 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01149/0.5197, allocations: 8.981 MB / 0.5432 GB, free: 10.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.5198, allocations: 5.031 kB / 0.5432 GB, free: 10.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5198, allocations: 0 / 0.5432 GB, free: 10.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002882/0.5201, allocations: 0.75 kB / 0.5432 GB, free: 10.23 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.01932/0.5394, allocations: 6.469 MB / 0.5495 GB, free: 7.82 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.5395, allocations: 12.52 kB / 0.5495 GB, free: 7.816 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002909/0.5424, allocations: 0.9073 MB / 0.5504 GB, free: 7.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03534/0.5777, allocations: 6.025 MB / 0.5563 GB, free: 7.312 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01125/0.589, allocations: 5.281 MB / 0.5615 GB, free: 4.852 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002274/0.5893, allocations: 283.3 kB / 0.5617 GB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001733/0.591, allocations: 392.5 kB / 0.5621 GB, free: 4.652 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02197/0.613, allocations: 11.91 MB / 0.5737 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001747/0.6133, allocations: 54.47 kB / 0.5738 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005964/0.6139, allocations: 182 kB / 0.574 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002967/0.6168, allocations: 2.143 MB / 0.576 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.6382, allocations: 10.16 MB / 0.586 GB, free: 3.516 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06299/0.7012, allocations: 47.09 MB / 0.632 GB, free: 3.738 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/0.7156, allocations: 5.784 MB / 0.6376 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003852/0.7195, allocations: 2.936 MB / 0.6405 GB, free: 10.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01436/0.7339, allocations: 8.762 MB / 0.649 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.734, allocations: 53.75 kB / 0.6491 GB, free: 1.973 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.18e-06/0.734, allocations: 0 / 0.6491 GB, free: 1.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1267/0.8607, allocations: 34.86 MB / 0.6831 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001199/0.8608, allocations: 213.9 kB / 0.6833 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/0.8716, allocations: 4.826 MB / 0.688 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006083/0.8723, allocations: 65.7 kB / 0.6881 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003041/0.8753, allocations: 3.603 MB / 0.6916 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001433/0.8768, allocations: 0.9665 MB / 0.6926 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003622/0.8804, allocations: 1.345 MB / 0.6939 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.8805, allocations: 309.1 kB / 0.6942 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005251/0.8858, allocations: 3.027 MB / 0.6971 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008076/0.8939, allocations: 6.837 MB / 0.7038 GB, free: 8.148 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/0.9077, allocations: 10.68 MB / 0.7142 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000131/0.9079, allocations: 40 kB / 0.7143 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02903/0.9369, allocations: 13.2 MB / 0.7272 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.9371, allocations: 67.59 kB / 0.7272 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002575/0.9374, allocations: 132 kB / 0.7274 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/0.9496, allocations: 4.23 MB / 0.7315 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005442/0.9551, allocations: 1.415 MB / 0.7329 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3112/1.266, allocations: 28.56 MB / 0.7608 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007195/1.274, allocations: 396.4 kB / 0.7611 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00201/1.276, allocations: 402.7 kB / 0.7615 GB, free: 201.4 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.008597/1.284, allocations: 2.473 MB / 0.7639 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.286, allocations: 445 kB / 0.7644 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01674/1.302, allocations: 8.24 MB / 0.7724 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.06e-05/1.302, allocations: 27.94 kB / 0.7724 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.976e-05/1.303, allocations: 12.41 kB / 0.7724 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.209e-05/1.303, allocations: 19.05 kB / 0.7725 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02942/1.332, allocations: 16.73 MB / 0.7888 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.909e-05/1.332, allocations: 3.969 kB / 0.7888 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001534/1.334, allocations: 306.8 kB / 0.7891 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/1.344, allocations: 3.801 MB / 0.7928 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007248/1.344, allocations: 52.19 kB / 0.7929 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03269/1.377, allocations: 27.33 MB / 0.8195 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.377, allocations: 11.94 kB / 0.8196 GB, free: 170.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/1.397, allocations: 12.13 MB / 0.8314 GB, free: 158.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003513/1.4, allocations: 0.9532 MB / 0.8323 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001989/1.402, allocations: 44 kB / 0.8324 GB, free: 157.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003757/1.406, allocations: 167.8 kB / 0.8325 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/1.407, allocations: 189.7 kB / 0.8327 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004469/1.408, allocations: 75.62 kB / 0.8328 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006888/1.415, allocations: 3.067 MB / 0.8358 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.4e-07/1.415, allocations: 0 / 0.8358 GB, free: 153.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009054/1.424, allocations: 1.421 MB / 0.8372 GB, free: 152.4 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.02098/1.445, allocations: 12.81 MB / 0.8497 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01391/1.459, allocations: 8.212 MB / 0.8577 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/1.459, allocations: 0 / 0.8577 GB, free: 131.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005471/1.464, allocations: 3.492 MB / 0.8611 GB, free: 127.8 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00566/1.47, allocations: 0.6129 MB / 0.8617 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.123/1.593, allocations: 64.24 MB / 0.9244 GB, free: 56.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007515/1.601, allocations: 3.93 MB / 0.9283 GB, free: 52.88 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005192/1.606, allocations: 2.015 MB / 0.9302 GB, free: 50.86 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004091/1.61, allocations: 2.378 MB / 0.9326 GB, free: 48.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2.205e-06/1.61, allocations: 0 / 0.9326 GB, free: 48.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4211/2.031, allocations: 115.2 MB / 1.045 GB, free: 161.2 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.29/23.32, allocations: 16.91 kB / 1.045 GB, free: 161.2 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 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.mat","/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