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.001165/0.001165, allocations: 105.9 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.001189/0.001189, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.515/1.515, 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.2283/0.2283, allocations: 43.52 MB / 314.1 MB, free: 460 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.001547/0.001547, allocations: 67.89 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1249, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01503/0.1399, allocations: 13.47 MB / 0.5005 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01103/0.151, allocations: 4.798 MB / 0.5052 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002589/0.1536, allocations: 91.75 kB / 0.5053 GB, free: 9.883 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006898/0.1606, allocations: 3.746 MB / 0.509 GB, free: 6.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005805/0.1665, allocations: 2.198 MB / 0.5111 GB, free: 3.918 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002508/0.169, allocations: 1.084 MB / 0.5122 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01113/0.1801, allocations: 6.198 MB / 0.5182 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005643/0.1858, allocations: 4.529 MB / 0.5227 GB, free: 8.02 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004034/0.1899, allocations: 2.052 MB / 0.5247 GB, free: 5.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004725/0.1947, allocations: 2.761 MB / 0.5274 GB, free: 3.191 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001123/0.1958, allocations: 428 kB / 0.5278 GB, free: 2.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002785/0.1986, allocations: 1.455 MB / 0.5292 GB, free: 1.316 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2854/0.484, allocations: 2.502 MB / 0.5316 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00519/0.4892, allocations: 2.858 MB / 0.5344 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.5025, allocations: 8.979 MB / 0.5432 GB, free: 10.25 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5026, allocations: 1.125 kB / 0.5432 GB, free: 10.25 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.5026, allocations: 0.6875 kB / 0.5432 GB, free: 10.25 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003531/0.5029, allocations: 0 / 0.5432 GB, free: 10.25 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.0239/0.5268, allocations: 6.473 MB / 0.5495 GB, free: 7.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.5269, allocations: 13.2 kB / 0.5495 GB, free: 7.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003533/0.5305, allocations: 0.9072 MB / 0.5504 GB, free: 7.754 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03976/0.5702, allocations: 6.025 MB / 0.5563 GB, free: 7.336 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01351/0.5838, allocations: 5.281 MB / 0.5615 GB, free: 4.875 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002436/0.5841, allocations: 285.2 kB / 0.5617 GB, free: 4.781 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001704/0.5858, allocations: 390.3 kB / 0.5621 GB, free: 4.676 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.6096, allocations: 11.9 MB / 0.5737 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002587/0.61, allocations: 64.3 kB / 0.5738 GB, free: 13.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00089/0.6109, allocations: 178.1 kB / 0.574 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003484/0.6143, allocations: 2.144 MB / 0.5761 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02394/0.6383, allocations: 10.16 MB / 0.586 GB, free: 3.582 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06786/0.7062, allocations: 47.08 MB / 0.632 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/0.721, allocations: 5.787 MB / 0.6376 GB, free: 13.88 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003822/0.7248, allocations: 2.939 MB / 0.6405 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01568/0.7406, allocations: 8.755 MB / 0.649 GB, free: 2.082 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.902e-05/0.7407, allocations: 55.16 kB / 0.6491 GB, free: 2.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 4.879e-06/0.7407, allocations: 0 / 0.6491 GB, free: 2.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.13/0.8707, allocations: 34.85 MB / 0.6831 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.8708, allocations: 213.2 kB / 0.6833 GB, free: 15 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008281/0.8791, allocations: 4.83 MB / 0.688 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00073/0.8799, allocations: 65.7 kB / 0.6881 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002666/0.8826, allocations: 3.607 MB / 0.6916 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001384/0.884, allocations: 0.9654 MB / 0.6926 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002114/0.8861, allocations: 1.348 MB / 0.6939 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8862, allocations: 305.1 kB / 0.6942 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004675/0.8909, allocations: 3.027 MB / 0.6971 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007925/0.8988, allocations: 6.841 MB / 0.7038 GB, free: 8.199 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/0.9126, allocations: 10.68 MB / 0.7142 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001258/0.9128, allocations: 40 kB / 0.7143 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02944/0.9422, allocations: 13.2 MB / 0.7272 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001709/0.9424, allocations: 63.94 kB / 0.7272 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002412/0.9427, allocations: 136 kB / 0.7273 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01299/0.9557, allocations: 4.228 MB / 0.7315 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005466/0.9612, allocations: 1.411 MB / 0.7329 GB, free: 9.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3348/1.296, allocations: 28.56 MB / 0.7608 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007437/1.304, allocations: 400.3 kB / 0.7611 GB, free: 201.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0021/1.306, allocations: 398.9 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.006767/1.312, allocations: 2.475 MB / 0.7639 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.314, allocations: 444.6 kB / 0.7644 GB, free: 201.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01644/1.33, allocations: 8.239 MB / 0.7724 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/1.33, allocations: 27.56 kB / 0.7724 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.242e-05/1.33, allocations: 20.41 kB / 0.7724 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/1.33, allocations: 15.53 kB / 0.7725 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03092/1.361, allocations: 16.72 MB / 0.7888 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-05/1.361, allocations: 8.719 kB / 0.7888 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001411/1.363, allocations: 303.3 kB / 0.7891 GB, free: 194.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009501/1.372, allocations: 3.801 MB / 0.7928 GB, free: 193.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004104/1.373, allocations: 47.69 kB / 0.7928 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0326/1.405, allocations: 27.34 MB / 0.8195 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/1.405, allocations: 8 kB / 0.8196 GB, free: 170.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01852/1.424, allocations: 12.13 MB / 0.8314 GB, free: 158.4 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.427, allocations: 0.9489 MB / 0.8323 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007343/1.427, allocations: 49.31 kB / 0.8324 GB, free: 157.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002149/1.43, allocations: 163.8 kB / 0.8325 GB, free: 157.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006638/1.43, allocations: 193.9 kB / 0.8327 GB, free: 157 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001916/1.431, allocations: 76.38 kB / 0.8328 GB, free: 157 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004024/1.435, allocations: 3.067 MB / 0.8358 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.8e-07/1.435, allocations: 0 / 0.8358 GB, free: 153.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006724/1.441, allocations: 1.431 MB / 0.8372 GB, free: 152.5 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.01827/1.46, allocations: 12.8 MB / 0.8497 GB, free: 139.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01242/1.472, allocations: 8.209 MB / 0.8577 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.472, allocations: 0 / 0.8577 GB, free: 131.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00557/1.478, allocations: 3.483 MB / 0.8611 GB, free: 127.9 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004586/1.482, allocations: 0.6107 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.09821/1.581, allocations: 64.24 MB / 0.9244 GB, free: 56.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003868/1.584, allocations: 3.933 MB / 0.9283 GB, free: 52.96 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004156/1.589, allocations: 2.015 MB / 0.9302 GB, free: 50.94 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/1.591, allocations: 2.382 MB / 0.9326 GB, free: 48.56 MB / 0.5919 GB Notification: Performance of SimCode: time 1.433e-06/1.591, allocations: 0 / 0.9326 GB, free: 48.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.44/2.031, allocations: 115.2 MB / 1.045 GB, free: 161.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.91/23.94, allocations: 22.72 kB / 1.045 GB, free: 161.3 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