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.00183/0.00183, allocations: 113.6 kB / 16.41 MB, free: 6.488 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.002158/0.002158, allocations: 188.1 kB / 17.34 MB, free: 5.762 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.812/1.812, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2504/0.2504, allocations: 43.53 MB / 314.1 MB, free: 464 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.00208/0.00208, allocations: 71.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1382, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.0162/0.1544, allocations: 13.47 MB / 0.5006 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1656, allocations: 4.806 MB / 0.5052 GB, free: 9.953 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002571/0.1683, allocations: 87.75 kB / 0.5053 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007306/0.1756, allocations: 3.742 MB / 0.509 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007392/0.183, allocations: 2.194 MB / 0.5111 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.1862, allocations: 1.084 MB / 0.5122 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.1962, allocations: 6.195 MB / 0.5182 GB, free: 12.61 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00629/0.2026, allocations: 4.529 MB / 0.5227 GB, free: 8.016 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00421/0.2068, allocations: 2.048 MB / 0.5247 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005485/0.2123, allocations: 2.761 MB / 0.5274 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002057/0.2144, allocations: 428 kB / 0.5278 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003735/0.2182, allocations: 1.443 MB / 0.5292 GB, free: 1.328 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2959/0.5141, allocations: 2.462 MB / 0.5316 GB, free: 12.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006977/0.5211, allocations: 2.863 MB / 0.5344 GB, free: 11.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01836/0.5395, allocations: 9.016 MB / 0.5432 GB, free: 10.22 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.5396, allocations: 4.484 kB / 0.5432 GB, free: 10.22 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5396, allocations: 0 / 0.5432 GB, free: 10.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004463/0.54, allocations: 0 / 0.5432 GB, free: 10.22 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.02676/0.5668, allocations: 6.632 MB / 0.5497 GB, free: 7.641 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5669, allocations: 13.8 kB / 0.5497 GB, free: 7.637 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002994/0.5699, allocations: 0.9102 MB / 0.5506 GB, free: 7.547 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0396/0.6095, allocations: 6.052 MB / 0.5565 GB, free: 7.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0128/0.6223, allocations: 5.314 MB / 0.5617 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002995/0.6227, allocations: 283.9 kB / 0.5619 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002249/0.6249, allocations: 392 kB / 0.5623 GB, free: 4.371 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/0.6491, allocations: 11.91 MB / 0.5739 GB, free: 13.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000184/0.6493, allocations: 64.02 kB / 0.574 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006154/0.6499, allocations: 183.4 kB / 0.5742 GB, free: 13.11 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003259/0.6532, allocations: 2.139 MB / 0.5763 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02313/0.6763, allocations: 10.16 MB / 0.5862 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07845/0.7548, allocations: 47.17 MB / 0.6322 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/0.7707, allocations: 5.787 MB / 0.6379 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004469/0.7752, allocations: 2.928 MB / 0.6408 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01685/0.7921, allocations: 8.769 MB / 0.6493 GB, free: 1.742 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/0.7922, allocations: 58.78 kB / 0.6494 GB, free: 1.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 5.58e-06/0.7922, allocations: 0 / 0.6494 GB, free: 1.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1304/0.9226, allocations: 35.13 MB / 0.6837 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001515/0.9228, allocations: 213.3 kB / 0.6839 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009041/0.9319, allocations: 4.843 MB / 0.6886 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0008114/0.9327, allocations: 65.69 kB / 0.6887 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003736/0.9365, allocations: 3.727 MB / 0.6923 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001698/0.9382, allocations: 1.016 MB / 0.6933 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002443/0.9406, allocations: 1.36 MB / 0.6946 GB, free: 3.406 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.9408, allocations: 301.1 kB / 0.6949 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004957/0.9457, allocations: 3.023 MB / 0.6979 GB, free: 84 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00937/0.9552, allocations: 6.849 MB / 0.7046 GB, free: 7.426 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/0.9732, allocations: 10.67 MB / 0.715 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/0.9734, allocations: 36 kB / 0.715 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.03381/1.007, allocations: 13.24 MB / 0.7279 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.888e-05/1.007, allocations: 67.94 kB / 0.728 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/1.007, allocations: 135.9 kB / 0.7281 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/1.021, allocations: 4.228 MB / 0.7323 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005905/1.027, allocations: 1.415 MB / 0.7336 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3602/1.388, allocations: 28.57 MB / 0.7616 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007645/1.395, allocations: 406.7 kB / 0.7619 GB, free: 201.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001874/1.397, allocations: 398.1 kB / 0.7623 GB, free: 201.7 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.006867/1.404, allocations: 2.473 MB / 0.7647 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/1.406, allocations: 469.6 kB / 0.7652 GB, free: 201.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/1.424, allocations: 8.235 MB / 0.7732 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001192/1.424, allocations: 30.7 kB / 0.7733 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.632e-05/1.424, allocations: 12.91 kB / 0.7733 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.579e-05/1.424, allocations: 16.34 kB / 0.7733 GB, free: 200.8 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03145/1.455, allocations: 16.74 MB / 0.7896 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.848e-05/1.455, allocations: 3.812 kB / 0.7896 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001655/1.457, allocations: 301.2 kB / 0.7899 GB, free: 194.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01034/1.467, allocations: 3.8 MB / 0.7936 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007073/1.468, allocations: 48.27 kB / 0.7937 GB, free: 193.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0314/1.5, allocations: 27.35 MB / 0.8204 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/1.5, allocations: 4 kB / 0.8204 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01899/1.519, allocations: 12.15 MB / 0.8323 GB, free: 157.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00315/1.522, allocations: 0.972 MB / 0.8332 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000969/1.523, allocations: 54.02 kB / 0.8333 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002232/1.525, allocations: 169.6 kB / 0.8334 GB, free: 156.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008205/1.526, allocations: 205.3 kB / 0.8336 GB, free: 156.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/1.526, allocations: 67.98 kB / 0.8337 GB, free: 156.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004833/1.531, allocations: 3.069 MB / 0.8367 GB, free: 153 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/1.531, allocations: 0 / 0.8367 GB, free: 153 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.008521/1.539, allocations: 1.423 MB / 0.8381 GB, free: 151.6 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.01966/1.559, allocations: 12.83 MB / 0.8506 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01347/1.573, allocations: 8.211 MB / 0.8586 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.685e-05/1.573, allocations: 4 kB / 0.8586 GB, free: 130.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/1.578, allocations: 3.495 MB / 0.862 GB, free: 127 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00482/1.583, allocations: 0.6188 MB / 0.8626 GB, free: 126.4 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1112/1.694, allocations: 64.45 MB / 0.9256 GB, free: 55.76 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006948/1.701, allocations: 3.933 MB / 0.9294 GB, free: 51.8 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006077/1.707, allocations: 2.011 MB / 0.9314 GB, free: 49.79 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005843/1.713, allocations: 2.378 MB / 0.9337 GB, free: 47.41 MB / 0.5919 GB Notification: Performance of SimCode: time 1.774e-06/1.713, allocations: 0 / 0.9337 GB, free: 47.41 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4999/2.213, allocations: 113.3 MB / 1.044 GB, free: 162 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.04/24.25, allocations: 7.938 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 & /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