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.001284/0.001284, allocations: 104.1 kB / 16.27 MB, free: 5.93 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.001361/0.001361, allocations: 188.8 kB / 17.2 MB, free: 5.574 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.626/1.626, allocations: 205.1 MB / 223.1 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.23/0.23, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.00175/0.00175, allocations: 74.69 kB / 382.8 MB, free: 56.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1165, allocations: 57.79 MB / 440.6 MB, free: 6.816 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01402/0.1305, allocations: 13.48 MB / 454.1 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.1417, allocations: 4.802 MB / 458.9 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003354/0.1451, allocations: 95.69 kB / 459 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006961/0.1521, allocations: 3.742 MB / 462.7 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007072/0.1592, allocations: 2.19 MB / 464.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.1622, allocations: 1.084 MB / 466 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009514/0.1717, allocations: 6.194 MB / 472.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00563/0.1774, allocations: 4.545 MB / 476.8 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003527/0.1809, allocations: 2.037 MB / 478.8 MB, free: 464 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003492/0.1844, allocations: 2.753 MB / 481.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.1856, allocations: 432 kB / 482 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.1884, allocations: 1.443 MB / 483.4 MB, free: 11.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002811/0.1912, allocations: 2.474 MB / 485.9 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004735/0.1959, allocations: 2.855 MB / 488.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01028/0.2062, allocations: 8.743 MB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.2063, allocations: 0 / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.188e-06/0.2063, allocations: 0 / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003182/0.2066, allocations: 3.938 kB / 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.01805/0.2247, allocations: 6.468 MB / 0.4921 GB, free: 7.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.2248, allocations: 11.89 kB / 0.4921 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001995/0.2268, allocations: 0.9081 MB / 0.493 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0395/0.2663, allocations: 6.024 MB / 0.4989 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.2785, allocations: 5.195 MB / 0.504 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000326/0.2788, allocations: 291.4 kB / 0.5043 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001577/0.2804, allocations: 379.8 kB / 0.5046 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02378/0.3042, allocations: 11.91 MB / 0.5163 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002151/0.3045, allocations: 55.53 kB / 0.5163 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007473/0.3052, allocations: 179.8 kB / 0.5165 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003401/0.3087, allocations: 2.136 MB / 0.5186 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/0.33, allocations: 10.17 MB / 0.5285 GB, free: 1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2585/0.5886, allocations: 47.32 MB / 0.5747 GB, free: 48.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/0.602, allocations: 5.789 MB / 0.5804 GB, free: 45.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00326/0.6053, allocations: 2.918 MB / 0.5832 GB, free: 43.89 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0114/0.6168, allocations: 8.756 MB / 0.5918 GB, free: 35.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.6168, allocations: 51.88 kB / 0.5918 GB, free: 34.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=206): time 4.769e-06/0.6168, allocations: 4 kB / 0.5918 GB, free: 34.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=262): time 0.1129/0.7298, allocations: 34.84 MB / 0.6258 GB, free: 104 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001296/0.7299, allocations: 213.9 kB / 0.626 GB, free: 15.85 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007391/0.7373, allocations: 4.83 MB / 0.6308 GB, free: 11.02 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008221/0.7382, allocations: 69.22 kB / 0.6308 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002816/0.741, allocations: 3.595 MB / 0.6343 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001466/0.7425, allocations: 0.9657 MB / 0.6353 GB, free: 6.398 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002153/0.7447, allocations: 1.347 MB / 0.6366 GB, free: 5.043 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.7448, allocations: 301.1 kB / 0.6369 GB, free: 4.746 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004093/0.7489, allocations: 3.027 MB / 0.6398 GB, free: 1.715 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006343/0.7552, allocations: 6.846 MB / 0.6465 GB, free: 8.992 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/0.7675, allocations: 10.67 MB / 0.6569 GB, free: 12.46 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001005/0.7676, allocations: 39.94 kB / 0.657 GB, free: 12.42 MB / 462.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02717/0.7948, allocations: 13.21 MB / 0.6699 GB, free: 15.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.7949, allocations: 67.94 kB / 0.67 GB, free: 15.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001734/0.7951, allocations: 132 kB / 0.6701 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/0.8076, allocations: 4.225 MB / 0.6742 GB, free: 10.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005077/0.8127, allocations: 1.419 MB / 0.6756 GB, free: 9.332 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03962/0.8524, allocations: 28.59 MB / 0.7035 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005413/0.8578, allocations: 407.4 kB / 0.7039 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.8589, allocations: 396 kB / 0.7043 GB, free: 11.55 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.005166/0.8641, allocations: 2.466 MB / 0.7067 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001226/0.8653, allocations: 450.1 kB / 0.7071 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.8827, allocations: 8.244 MB / 0.7152 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.464e-05/0.8828, allocations: 28 kB / 0.7152 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.724e-05/0.8828, allocations: 12 kB / 0.7152 GB, free: 324 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.444e-05/0.8829, allocations: 11.95 kB / 0.7152 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2118/1.095, allocations: 16.89 MB / 0.7317 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.164e-05/1.095, allocations: 5.062 kB / 0.7317 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00186/1.097, allocations: 305.6 kB / 0.732 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009815/1.106, allocations: 3.808 MB / 0.7357 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000407/1.107, allocations: 49.16 kB / 0.7358 GB, free: 160.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0286/1.136, allocations: 27.29 MB / 0.7624 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.136, allocations: 14.97 kB / 0.7624 GB, free: 141 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01764/1.153, allocations: 12.11 MB / 0.7743 GB, free: 129 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002629/1.156, allocations: 0.9524 MB / 0.7752 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006967/1.157, allocations: 44 kB / 0.7752 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002401/1.159, allocations: 171.7 kB / 0.7754 GB, free: 128.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008743/1.16, allocations: 198.5 kB / 0.7756 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001967/1.16, allocations: 68 kB / 0.7757 GB, free: 127.9 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005561/1.166, allocations: 3.074 MB / 0.7787 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.166, allocations: 0 / 0.7787 GB, free: 124.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007757/1.173, allocations: 1.42 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.01813/1.192, allocations: 12.78 MB / 0.7925 GB, free: 110.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01362/1.205, allocations: 9.766 MB / 0.8021 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.168e-06/1.205, allocations: 0 / 0.8021 GB, free: 100.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00478/1.21, allocations: 3.487 MB / 0.8055 GB, free: 97.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003424/1.214, allocations: 0.6147 MB / 0.8061 GB, free: 96.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/1.314, allocations: 74.09 MB / 0.8784 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004665/1.319, allocations: 3.938 MB / 0.8823 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004554/1.323, allocations: 2.019 MB / 0.8842 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002901/1.326, allocations: 2.37 MB / 0.8866 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of SimCode: time 1.143e-06/1.326, allocations: 0 / 0.8866 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.385/1.711, allocations: 117 MB / 1.001 GB, free: 101.6 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/16.1, allocations: 17.08 kB / 1.001 GB, free: 101.6 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 & /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