Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_4_0_0_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.00152/0.00152, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001444/0.001444, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.18 MB / 336.6 MB, free: 2.727 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 64.09 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.01195/0.115, allocations: 13.4 MB / 482.8 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007405/0.1225, allocations: 4.797 MB / 487.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009585/0.1234, allocations: 95.69 kB / 487.6 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005352/0.1288, allocations: 3.738 MB / 491.4 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003472/0.1323, allocations: 2.19 MB / 493.6 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.1339, allocations: 1.068 MB / 494.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005878/0.1398, allocations: 6.506 MB / 0.4894 GB, free: 14.33 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003752/0.1436, allocations: 4.518 MB / 0.4938 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001968/0.1456, allocations: 2.025 MB / 0.4958 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002543/0.1481, allocations: 2.738 MB / 0.4985 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005729/0.1487, allocations: 428 kB / 0.4989 GB, free: 4.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001944/0.1507, allocations: 1.459 MB / 0.5003 GB, free: 3.086 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.1523, allocations: 2.451 MB / 0.5027 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1651/0.3174, allocations: 2.84 MB / 0.5055 GB, free: 20.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00723/0.3246, allocations: 8.721 MB / 0.514 GB, free: 19.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3247, allocations: 0 / 0.514 GB, free: 19.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3247, allocations: 0 / 0.514 GB, free: 19.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001279/0.3248, allocations: 0 / 0.514 GB, free: 19.09 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.01138/0.3362, allocations: 6.424 MB / 0.5203 GB, free: 16.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.3362, allocations: 10.72 kB / 0.5203 GB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/0.3373, allocations: 0.9129 MB / 0.5212 GB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03469/0.372, allocations: 6.021 MB / 0.527 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006958/0.379, allocations: 4.877 MB / 0.5318 GB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.3791, allocations: 283.1 kB / 0.5321 GB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005284/0.3796, allocations: 393.1 kB / 0.5324 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01371/0.3933, allocations: 11.9 MB / 0.5441 GB, free: 5.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001268/0.3935, allocations: 64.95 kB / 0.5441 GB, free: 5.484 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004458/0.3939, allocations: 181.5 kB / 0.5443 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002395/0.3963, allocations: 2.144 MB / 0.5464 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.4111, allocations: 10.17 MB / 0.5563 GB, free: 9.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04607/0.4572, allocations: 47.27 MB / 0.6025 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/0.4699, allocations: 5.774 MB / 0.6081 GB, free: 3.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/0.4729, allocations: 2.941 MB / 0.611 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01079/0.4837, allocations: 8.755 MB / 0.6196 GB, free: 7.73 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.4837, allocations: 55.88 kB / 0.6196 GB, free: 7.668 MB / 462.1 MB Notification: Performance of pre-optimization done (n=206): time 3.356e-06/0.4837, allocations: 0 / 0.6196 GB, free: 7.668 MB / 462.1 MB Notification: Performance of matching and sorting (n=262): time 0.125/0.6087, allocations: 34.71 MB / 0.6535 GB, free: 5.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.6088, allocations: 205.9 kB / 0.6537 GB, free: 4.797 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007273/0.6161, allocations: 4.797 MB / 0.6584 GB, free: 16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006843/0.6168, allocations: 65.64 kB / 0.6584 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003052/0.6199, allocations: 3.59 MB / 0.662 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001507/0.6214, allocations: 0.9724 MB / 0.6629 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002198/0.6236, allocations: 1.347 MB / 0.6642 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.6237, allocations: 305.1 kB / 0.6645 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004283/0.628, allocations: 3.027 MB / 0.6675 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006574/0.6346, allocations: 6.842 MB / 0.6741 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01237/0.647, allocations: 10.67 MB / 0.6846 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.689e-05/0.6471, allocations: 36 kB / 0.6846 GB, free: 2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02554/0.6727, allocations: 13.22 MB / 0.6975 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.6728, allocations: 60 kB / 0.6976 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/0.673, allocations: 140 kB / 0.6977 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.6846, allocations: 4.225 MB / 0.7018 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2122/0.8968, allocations: 1.409 MB / 0.7032 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1408/1.038, allocations: 28.58 MB / 0.7311 GB, free: 172.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004955/1.043, allocations: 402.6 kB / 0.7315 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006468/1.043, allocations: 398.1 kB / 0.7319 GB, free: 172.4 MB / 0.5294 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.003176/1.046, allocations: 2.462 MB / 0.7343 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006512/1.047, allocations: 445.3 kB / 0.7347 GB, free: 171.4 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/1.06, allocations: 8.24 MB / 0.7428 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.382e-05/1.06, allocations: 31.94 kB / 0.7428 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-05/1.06, allocations: 12 kB / 0.7428 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/1.06, allocations: 15.45 kB / 0.7428 GB, free: 167.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.024/1.084, allocations: 16.88 MB / 0.7593 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-05/1.085, allocations: 4 kB / 0.7593 GB, free: 150.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.086, allocations: 303.5 kB / 0.7596 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008971/1.095, allocations: 3.81 MB / 0.7633 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000715/1.096, allocations: 53.84 kB / 0.7634 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02922/1.125, allocations: 27.3 MB / 0.79 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/1.125, allocations: 12 kB / 0.79 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/1.143, allocations: 12.11 MB / 0.8019 GB, free: 106.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.144, allocations: 495.2 kB / 0.8023 GB, free: 106.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009752/1.145, allocations: 48 kB / 0.8024 GB, free: 106.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/1.148, allocations: 166.3 kB / 0.8025 GB, free: 106 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007618/1.149, allocations: 194.1 kB / 0.8027 GB, free: 105.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001956/1.149, allocations: 68 kB / 0.8028 GB, free: 105.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004306/1.153, allocations: 3.051 MB / 0.8058 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.51e-07/1.153, allocations: 0 / 0.8058 GB, free: 102.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006841/1.16, allocations: 1.418 MB / 0.8072 GB, free: 101.2 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.01766/1.178, allocations: 12.79 MB / 0.8196 GB, free: 88.31 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01499/1.193, allocations: 9.736 MB / 0.8292 GB, free: 78.56 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.193, allocations: 4 kB / 0.8292 GB, free: 78.56 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004884/1.198, allocations: 3.49 MB / 0.8326 GB, free: 75.04 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/1.201, allocations: 0.6081 MB / 0.8332 GB, free: 74.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2743/1.476, allocations: 73.74 MB / 0.9052 GB, free: 176.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005385/1.481, allocations: 3.919 MB / 0.909 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004824/1.486, allocations: 2.015 MB / 0.911 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003231/1.489, allocations: 2.371 MB / 0.9133 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of SimCode: time 1.163e-06/1.489, allocations: 0 / 0.9133 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4569/1.946, allocations: 116.7 MB / 1.027 GB, free: 73.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/18.09, allocations: 8 kB / 1.027 GB, free: 73.79 MB / 0.5294 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches