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.006351/0.006351, allocations: 99.92 kB / 15.87 MB, free: 6.309 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.001284/0.001284, allocations: 195.1 kB / 16.79 MB, free: 6.238 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.383/1.383, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3203/0.3203, allocations: 43.5 MB / 313.5 MB, free: 8.289 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.001359/0.001359, allocations: 71.91 kB / 382.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1353, allocations: 57.78 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.304/0.4393, allocations: 62.43 MB / 0.4906 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03489/0.4743, allocations: 12.95 MB / 0.5032 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01694/0.4913, allocations: 277.2 kB / 0.5035 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007405/0.4988, allocations: 3.727 MB / 0.5071 GB, free: 288 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007332/0.5061, allocations: 2.055 MB / 0.5091 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003022/0.5092, allocations: 1.005 MB / 0.5101 GB, free: 14.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01556/0.5247, allocations: 8.661 MB / 0.5186 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007073/0.5319, allocations: 4.447 MB / 0.5229 GB, free: 10.58 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.5356, allocations: 1.815 MB / 0.5247 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/0.5401, allocations: 2.954 MB / 0.5276 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.5412, allocations: 296 kB / 0.5278 GB, free: 7.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003043/0.5442, allocations: 1.4 MB / 0.5292 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002447/0.5467, allocations: 2.376 MB / 0.5315 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003652/0.5503, allocations: 2.734 MB / 0.5342 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.5618, allocations: 8.625 MB / 0.5426 GB, free: 7.938 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.5619, allocations: 0 / 0.5426 GB, free: 7.938 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5619, allocations: 0 / 0.5426 GB, free: 7.938 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003274/0.5622, allocations: 0 / 0.5426 GB, free: 7.938 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.01954/0.5818, allocations: 6.474 MB / 0.5489 GB, free: 1.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.5818, allocations: 12.03 kB / 0.549 GB, free: 1.375 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001837/0.5837, allocations: 0.9081 MB / 0.5498 GB, free: 468 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03464/0.6183, allocations: 6.024 MB / 0.5557 GB, free: 10.42 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.6296, allocations: 5.199 MB / 0.5608 GB, free: 5.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000258/0.6298, allocations: 283.7 kB / 0.5611 GB, free: 4.859 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001634/0.6315, allocations: 383.7 kB / 0.5614 GB, free: 4.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02247/0.654, allocations: 11.92 MB / 0.5731 GB, free: 7.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.6542, allocations: 55.53 kB / 0.5731 GB, free: 7.727 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005408/0.6547, allocations: 175.9 kB / 0.5733 GB, free: 7.555 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003192/0.6579, allocations: 2.144 MB / 0.5754 GB, free: 5.41 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0222/0.6801, allocations: 10.16 MB / 0.5853 GB, free: 11.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3011/0.9813, allocations: 47.31 MB / 0.6315 GB, free: 113.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01344/0.9948, allocations: 5.794 MB / 0.6372 GB, free: 112.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003782/0.9986, allocations: 2.917 MB / 0.64 GB, free: 112.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01348/1.012, allocations: 8.775 MB / 0.6486 GB, free: 109.3 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.716e-05/1.012, allocations: 54.72 kB / 0.6486 GB, free: 109.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.711e-06/1.012, allocations: 0 / 0.6486 GB, free: 109.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.118/1.13, allocations: 34.84 MB / 0.6827 GB, free: 100.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/1.13, allocations: 205.2 kB / 0.6829 GB, free: 100.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007243/1.138, allocations: 4.828 MB / 0.6876 GB, free: 97.83 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006609/1.138, allocations: 65.33 kB / 0.6876 GB, free: 97.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002326/1.141, allocations: 3.602 MB / 0.6912 GB, free: 94.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001271/1.142, allocations: 0.9619 MB / 0.6921 GB, free: 93.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001892/1.144, allocations: 1.354 MB / 0.6934 GB, free: 93.05 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.422e-05/1.144, allocations: 305.1 kB / 0.6937 GB, free: 92.75 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003711/1.148, allocations: 3.028 MB / 0.6967 GB, free: 90.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005334/1.153, allocations: 6.84 MB / 0.7034 GB, free: 82.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009935/1.163, allocations: 10.67 MB / 0.7138 GB, free: 70.06 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.655e-05/1.163, allocations: 36 kB / 0.7138 GB, free: 70.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02262/1.186, allocations: 13.21 MB / 0.7267 GB, free: 56.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.467e-05/1.186, allocations: 60 kB / 0.7268 GB, free: 56.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001492/1.186, allocations: 132 kB / 0.7269 GB, free: 56.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/1.197, allocations: 4.22 MB / 0.731 GB, free: 52.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005085/1.203, allocations: 1.415 MB / 0.7324 GB, free: 50.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03138/1.234, allocations: 26.43 MB / 0.7582 GB, free: 24.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006114/1.24, allocations: 399.3 kB / 0.7586 GB, free: 23.77 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001383/1.242, allocations: 396 kB / 0.759 GB, free: 23.38 MB / 494.1 MB 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.005378/1.247, allocations: 2.473 MB / 0.7614 GB, free: 20.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.248, allocations: 450.2 kB / 0.7618 GB, free: 20.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/1.265, allocations: 8.234 MB / 0.7698 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/1.265, allocations: 31.94 kB / 0.7699 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-05/1.265, allocations: 15 kB / 0.7699 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.503e-05/1.265, allocations: 11.95 kB / 0.7699 GB, free: 12.13 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0356/1.3, allocations: 16.88 MB / 0.7864 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.803e-05/1.3, allocations: 8 kB / 0.7864 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/1.302, allocations: 299.5 kB / 0.7867 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01151/1.314, allocations: 3.93 MB / 0.7905 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007197/1.314, allocations: 51.94 kB / 0.7906 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0354/1.35, allocations: 25.21 MB / 0.8152 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/1.35, allocations: 15.88 kB / 0.8152 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02193/1.372, allocations: 12.11 MB / 0.827 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003012/1.375, allocations: 0.9482 MB / 0.828 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.2272/1.602, allocations: 50.69 kB / 0.828 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002479/1.605, allocations: 168.2 kB / 0.8282 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007343/1.605, allocations: 199.2 kB / 0.8284 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/1.605, allocations: 71.02 kB / 0.8284 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004255/1.61, allocations: 3.065 MB / 0.8314 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.61, allocations: 0 / 0.8314 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006579/1.616, allocations: 1.426 MB / 0.8328 GB, free: 172.6 MB / 0.5294 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.01967/1.636, allocations: 12.79 MB / 0.8453 GB, free: 170.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.651, allocations: 8.169 MB / 0.8533 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.651, allocations: 1.312 kB / 0.8533 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006151/1.657, allocations: 3.522 MB / 0.8567 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/1.662, allocations: 0.5793 MB / 0.8573 GB, free: 165.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1238/1.786, allocations: 76.32 MB / 0.9318 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005472/1.791, allocations: 3.937 MB / 0.9357 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004814/1.796, allocations: 2.004 MB / 0.9376 GB, free: 101.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002976/1.799, allocations: 2.378 MB / 0.9399 GB, free: 98.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.864e-06/1.799, allocations: 0 / 0.9399 GB, free: 98.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3825/2.182, allocations: 114.2 MB / 1.051 GB, free: 166.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001785/2.182, allocations: 256.1 kB / 1.052 GB, free: 166.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.127/6.309, allocations: 1.125 kB / 1.052 GB, free: 166.1 MB / 0.5294 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches