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.0009611/0.0009612, allocations: 95.3 kB / 17.35 MB, free: 6.344 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: 168.7 kB / 18.25 MB, free: 5.508 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.338/1.338, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.1785/0.1785, allocations: 44.25 MB / 337.7 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 8 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1155, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3149/0.4304, allocations: 60.79 MB / 0.5207 GB, free: 9.695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02823/0.4587, allocations: 12.87 MB / 0.5332 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01168/0.4704, allocations: 274.2 kB / 0.5335 GB, free: 6.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.4722, allocations: 0.5034 MB / 0.534 GB, free: 6.312 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005579/0.4778, allocations: 2.059 MB / 0.536 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002377/0.4802, allocations: 0.9983 MB / 0.537 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.4902, allocations: 9.115 MB / 0.5459 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.5013, allocations: 6.304 MB / 0.552 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003643/0.5049, allocations: 1.515 MB / 0.5535 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004459/0.5094, allocations: 2.564 MB / 0.556 GB, free: 9.629 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001149/0.5106, allocations: 176 kB / 0.5562 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.5141, allocations: 1.286 MB / 0.5574 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00334/0.5175, allocations: 2.195 MB / 0.5596 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004862/0.5224, allocations: 2.52 MB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.5336, allocations: 8.354 MB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.5336, allocations: 4 kB / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5336, allocations: 0 / 0.5702 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003454/0.534, allocations: 0 / 0.5702 GB, free: 11.34 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.01475/0.5488, allocations: 5.326 MB / 0.5754 GB, free: 5.98 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.5488, allocations: 8.031 kB / 0.5754 GB, free: 5.973 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003116/0.552, allocations: 0.9078 MB / 0.5763 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03904/0.591, allocations: 6.094 MB / 0.5822 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009907/0.601, allocations: 4.875 MB / 0.587 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.6013, allocations: 287 kB / 0.5873 GB, free: 9.891 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/0.6026, allocations: 394.1 kB / 0.5877 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02323/0.6259, allocations: 11.92 MB / 0.5993 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/0.6262, allocations: 55.44 kB / 0.5994 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/0.6277, allocations: 183.5 kB / 0.5995 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003686/0.6314, allocations: 2.139 MB / 0.6016 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.6519, allocations: 10.19 MB / 0.6116 GB, free: 436 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06072/0.7126, allocations: 47.29 MB / 0.6577 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01466/0.7273, allocations: 5.785 MB / 0.6634 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003719/0.7311, allocations: 2.934 MB / 0.6663 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01362/0.7447, allocations: 8.752 MB / 0.6748 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.7448, allocations: 63.8 kB / 0.6749 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=206): time 4.799e-06/0.7448, allocations: 0 / 0.6749 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=262): time 0.3904/1.135, allocations: 34.76 MB / 0.7088 GB, free: 189.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/1.135, allocations: 210.2 kB / 0.709 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008536/1.144, allocations: 4.797 MB / 0.7137 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005702/1.144, allocations: 67.19 kB / 0.7138 GB, free: 188 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002363/1.147, allocations: 3.598 MB / 0.7173 GB, free: 185.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001045/1.148, allocations: 0.9654 MB / 0.7182 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007613/1.149, allocations: 0.5642 MB / 0.7188 GB, free: 184.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/1.149, allocations: 302.1 kB / 0.7191 GB, free: 184.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00428/1.153, allocations: 3.033 MB / 0.722 GB, free: 183.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00568/1.159, allocations: 6.836 MB / 0.7287 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009981/1.169, allocations: 10.67 MB / 0.7391 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001054/1.169, allocations: 47.09 kB / 0.7392 GB, free: 169.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02297/1.192, allocations: 13.21 MB / 0.7521 GB, free: 161.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.016e-05/1.192, allocations: 67.41 kB / 0.7521 GB, free: 161.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/1.192, allocations: 136 kB / 0.7523 GB, free: 161.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0105/1.203, allocations: 4.236 MB / 0.7564 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003991/1.207, allocations: 1.415 MB / 0.7578 GB, free: 155.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02915/1.236, allocations: 26.4 MB / 0.7836 GB, free: 128.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006676/1.243, allocations: 403.3 kB / 0.7839 GB, free: 128.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/1.244, allocations: 397.3 kB / 0.7843 GB, free: 128.2 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.003766/1.247, allocations: 2.47 MB / 0.7867 GB, free: 125.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008355/1.248, allocations: 442.3 kB / 0.7872 GB, free: 125.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.263, allocations: 8.245 MB / 0.7952 GB, free: 117 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.744e-05/1.263, allocations: 28 kB / 0.7952 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.707e-05/1.263, allocations: 12 kB / 0.7952 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.87e-05/1.263, allocations: 11.95 kB / 0.7953 GB, free: 116.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0257/1.289, allocations: 16.88 MB / 0.8117 GB, free: 99.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/1.289, allocations: 4 kB / 0.8117 GB, free: 99.94 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/1.29, allocations: 308.1 kB / 0.812 GB, free: 99.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009683/1.3, allocations: 3.942 MB / 0.8159 GB, free: 95.69 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002954/1.3, allocations: 44 kB / 0.8159 GB, free: 95.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0269/1.327, allocations: 25.21 MB / 0.8405 GB, free: 70.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/1.327, allocations: 4 kB / 0.8405 GB, free: 70.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01892/1.346, allocations: 12.12 MB / 0.8524 GB, free: 57.78 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.347, allocations: 0.4951 MB / 0.8529 GB, free: 57.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001197/1.348, allocations: 47.98 kB / 0.8529 GB, free: 57.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/1.351, allocations: 167.8 kB / 0.8531 GB, free: 57.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007743/1.352, allocations: 190.1 kB / 0.8533 GB, free: 56.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/1.352, allocations: 75.98 kB / 0.8533 GB, free: 56.79 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003782/1.356, allocations: 3.039 MB / 0.8563 GB, free: 53.76 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/1.356, allocations: 0 / 0.8563 GB, free: 53.76 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006207/1.362, allocations: 1.419 MB / 0.8577 GB, free: 52.34 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.01936/1.382, allocations: 12.8 MB / 0.8702 GB, free: 39.41 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01219/1.394, allocations: 8.151 MB / 0.8781 GB, free: 31.24 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.394, allocations: 0 / 0.8781 GB, free: 31.24 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005047/1.399, allocations: 3.515 MB / 0.8816 GB, free: 27.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007711/1.407, allocations: 0.5887 MB / 0.8821 GB, free: 27.09 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3509/1.757, allocations: 76.04 MB / 0.9564 GB, free: 135 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003757/1.761, allocations: 3.921 MB / 0.9602 GB, free: 131.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004326/1.766, allocations: 2.01 MB / 0.9622 GB, free: 129.4 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/1.768, allocations: 2.366 MB / 0.9645 GB, free: 127 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/1.768, allocations: 4 kB / 0.9645 GB, free: 127 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1339/1.902, allocations: 111.9 MB / 1.074 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001615/1.902, allocations: 250 kB / 1.074 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.325/6.227, allocations: 7.375 kB / 1.074 GB, free: 15.46 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