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.00101/0.00101, allocations: 97.33 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001009, allocations: 183.2 kB / 16.91 MB, free: 6.914 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.679/1.679, allocations: 205.4 MB / 223.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3824/0.3824, allocations: 43.58 MB / 315 MB, free: 9.008 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.0005109/0.000511, allocations: 16 kB / 384.7 MB, free: 7.777 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1396, allocations: 58.86 MB / 443.5 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.3209/0.4605, allocations: 60.87 MB / 0.4926 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03145/0.492, allocations: 12.88 MB / 0.5052 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01486/0.5069, allocations: 278.2 kB / 0.5054 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00244/0.5094, allocations: 0.5033 MB / 0.5059 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007637/0.5171, allocations: 2.066 MB / 0.5079 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002877/0.52, allocations: 1.007 MB / 0.5089 GB, free: 432 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01492/0.5349, allocations: 8.649 MB / 0.5174 GB, free: 13.96 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01137/0.5463, allocations: 6.319 MB / 0.5235 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004504/0.5509, allocations: 1.527 MB / 0.525 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.5559, allocations: 2.578 MB / 0.5275 GB, free: 9.398 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009849/0.5569, allocations: 178.7 kB / 0.5277 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003739/0.5607, allocations: 1.279 MB / 0.529 GB, free: 8.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003699/0.5644, allocations: 2.209 MB / 0.5311 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006071/0.5705, allocations: 2.532 MB / 0.5336 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01234/0.5828, allocations: 8.385 MB / 0.5418 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.5829, allocations: 0 / 0.5418 GB, free: 11.07 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.5829, allocations: 0 / 0.5418 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003174/0.5832, allocations: 0 / 0.5418 GB, free: 11.07 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.01342/0.5967, allocations: 5.351 MB / 0.547 GB, free: 5.648 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5967, allocations: 8.031 kB / 0.547 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002265/0.599, allocations: 0.9158 MB / 0.5479 GB, free: 4.715 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03833/0.6373, allocations: 6.106 MB / 0.5539 GB, free: 14.59 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0108/0.6482, allocations: 5.192 MB / 0.5589 GB, free: 9.32 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002445/0.6485, allocations: 283.7 kB / 0.5592 GB, free: 9.043 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001274/0.6498, allocations: 391.6 kB / 0.5596 GB, free: 8.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02224/0.672, allocations: 11.93 MB / 0.5712 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001913/0.6722, allocations: 55.44 kB / 0.5713 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005115/0.6728, allocations: 179.8 kB / 0.5715 GB, free: 11.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003344/0.6761, allocations: 2.14 MB / 0.5736 GB, free: 9.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02282/0.6989, allocations: 10.18 MB / 0.5835 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3026/1.002, allocations: 47.34 MB / 0.6297 GB, free: 129.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01324/1.015, allocations: 5.786 MB / 0.6354 GB, free: 128.6 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/1.018, allocations: 2.926 MB / 0.6382 GB, free: 128.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/1.03, allocations: 8.763 MB / 0.6468 GB, free: 126.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.674e-05/1.03, allocations: 66.31 kB / 0.6468 GB, free: 126.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=206): time 6.322e-06/1.03, allocations: 3.094 kB / 0.6469 GB, free: 126.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.1205/1.15, allocations: 34.88 MB / 0.6809 GB, free: 117.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/1.151, allocations: 209.6 kB / 0.6811 GB, free: 117.6 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00564/1.156, allocations: 4.834 MB / 0.6858 GB, free: 115.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004704/1.157, allocations: 64.8 kB / 0.6859 GB, free: 115.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001768/1.159, allocations: 3.604 MB / 0.6894 GB, free: 112.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008657/1.159, allocations: 0.9656 MB / 0.6904 GB, free: 111.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006413/1.16, allocations: 0.5624 MB / 0.6909 GB, free: 111.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.308e-05/1.16, allocations: 305 kB / 0.6912 GB, free: 111 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003517/1.164, allocations: 3.03 MB / 0.6942 GB, free: 109.4 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/1.168, allocations: 6.839 MB / 0.7008 GB, free: 102.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/1.178, allocations: 10.67 MB / 0.7113 GB, free: 89.81 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.887e-05/1.179, allocations: 43.94 kB / 0.7113 GB, free: 89.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02297/1.202, allocations: 13.22 MB / 0.7242 GB, free: 76.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/1.202, allocations: 60 kB / 0.7243 GB, free: 76.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.402e-05/1.202, allocations: 132.8 kB / 0.7244 GB, free: 76.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.213, allocations: 4.236 MB / 0.7285 GB, free: 72.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004351/1.217, allocations: 1.407 MB / 0.7299 GB, free: 70.68 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02936/1.246, allocations: 26.42 MB / 0.7557 GB, free: 43.89 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005608/1.252, allocations: 395.4 kB / 0.7561 GB, free: 43.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005852/1.253, allocations: 405.5 kB / 0.7565 GB, free: 43.11 MB / 494.1 MB 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.003456/1.256, allocations: 2.466 MB / 0.7589 GB, free: 40.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007543/1.257, allocations: 446.3 kB / 0.7593 GB, free: 40.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01424/1.271, allocations: 8.25 MB / 0.7674 GB, free: 31.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-05/1.271, allocations: 34.81 kB / 0.7674 GB, free: 31.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/1.271, allocations: 15.94 kB / 0.7674 GB, free: 31.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.627e-05/1.271, allocations: 11.95 kB / 0.7674 GB, free: 31.85 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02738/1.299, allocations: 16.88 MB / 0.7839 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.437e-05/1.299, allocations: 4 kB / 0.7839 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/1.3, allocations: 300.1 kB / 0.7842 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009693/1.31, allocations: 3.945 MB / 0.788 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003518/1.31, allocations: 51.98 kB / 0.7881 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03148/1.342, allocations: 25.2 MB / 0.8127 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.342, allocations: 7.938 kB / 0.8127 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2484/1.59, allocations: 12.12 MB / 0.8245 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00247/1.593, allocations: 0.9623 MB / 0.8255 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009004/1.593, allocations: 46.78 kB / 0.8255 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.596, allocations: 168.3 kB / 0.8257 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007086/1.596, allocations: 194 kB / 0.8259 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.597, allocations: 69.77 kB / 0.8259 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004954/1.602, allocations: 3.067 MB / 0.8289 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.71e-07/1.602, allocations: 0 / 0.8289 GB, free: 151.8 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008498/1.61, allocations: 1.424 MB / 0.8303 GB, free: 151.8 MB / 0.5137 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.01998/1.63, allocations: 12.8 MB / 0.8428 GB, free: 149.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.645, allocations: 8.145 MB / 0.8508 GB, free: 146 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/1.645, allocations: 1.188 kB / 0.8508 GB, free: 146 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006266/1.651, allocations: 3.528 MB / 0.8542 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007302/1.658, allocations: 0.5815 MB / 0.8548 GB, free: 144.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1179/1.776, allocations: 76.4 MB / 0.9294 GB, free: 83.45 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/1.78, allocations: 3.933 MB / 0.9332 GB, free: 79.65 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004582/1.785, allocations: 2.011 MB / 0.9352 GB, free: 77.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002379/1.787, allocations: 2.376 MB / 0.9375 GB, free: 75.26 MB / 0.5137 GB Notification: Performance of SimCode: time 1.744e-06/1.787, allocations: 0.875 kB / 0.9375 GB, free: 75.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4465/2.234, allocations: 112.2 MB / 1.047 GB, free: 144 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002244/2.234, allocations: 252.4 kB / 1.047 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.393/6.627, allocations: 7.656 kB / 1.047 GB, free: 143.7 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches