Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 179.1 kB / 16.72 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007045/0.0007044, allocations: 81.38 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2824/0.2824, allocations: 43.57 MB / 363.1 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 16 kB / 432.1 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 58.84 MB / 490.9 MB, free: 10.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.223/0.3271, allocations: 56.62 MB / 0.5347 GB, free: 10.05 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02528/0.3525, allocations: 12.31 MB / 0.5467 GB, free: 1.668 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01226/0.3647, allocations: 277.6 kB / 0.547 GB, free: 1.621 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008356/0.3731, allocations: 2.934 MB / 0.5499 GB, free: 0.582 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02262/0.3958, allocations: 8.737 MB / 0.5584 GB, free: 12.91 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004652/0.4005, allocations: 0.978 MB / 0.5593 GB, free: 12.53 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04533/0.4458, allocations: 36.15 MB / 0.5947 GB, free: 15.9 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008292/0.4542, allocations: 6.071 MB / 0.6006 GB, free: 9.773 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002866/0.4571, allocations: 1.646 MB / 0.6022 GB, free: 8.121 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.4604, allocations: 2.574 MB / 0.6047 GB, free: 5.539 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006364/0.4611, allocations: 180 kB / 0.6049 GB, free: 5.363 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002453/0.4636, allocations: 1.256 MB / 0.6061 GB, free: 4.105 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00219/0.4658, allocations: 2.166 MB / 0.6082 GB, free: 1.934 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002819/0.4686, allocations: 2.39 MB / 0.6106 GB, free: 15.52 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007269/0.4759, allocations: 6.932 MB / 0.6173 GB, free: 8.574 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.798e-06/0.4759, allocations: 3.938 kB / 0.6173 GB, free: 8.57 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4759, allocations: 0 / 0.6173 GB, free: 8.57 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000317/0.4763, allocations: 0 / 0.6173 GB, free: 8.57 MB / 442.7 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.0123/0.4886, allocations: 5.346 MB / 0.6225 GB, free: 3.148 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.4886, allocations: 12.03 kB / 0.6226 GB, free: 3.137 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001927/0.4906, allocations: 0.9119 MB / 0.6234 GB, free: 2.215 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03545/0.526, allocations: 6.102 MB / 0.6294 GB, free: 12.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01021/0.5363, allocations: 5.188 MB / 0.6345 GB, free: 6.828 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.5366, allocations: 287.7 kB / 0.6347 GB, free: 6.547 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.5379, allocations: 391.6 kB / 0.6351 GB, free: 6.164 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0217/0.5596, allocations: 11.9 MB / 0.6467 GB, free: 9.48 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/0.5598, allocations: 59.42 kB / 0.6468 GB, free: 9.422 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006157/0.5604, allocations: 183.8 kB / 0.647 GB, free: 9.242 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003267/0.5637, allocations: 2.14 MB / 0.6491 GB, free: 7.102 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.5837, allocations: 10.14 MB / 0.659 GB, free: 12.93 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2338/0.8176, allocations: 47.32 MB / 0.7052 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01293/0.8305, allocations: 5.781 MB / 0.7108 GB, free: 105.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.8336, allocations: 2.925 MB / 0.7137 GB, free: 104.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01159/0.8452, allocations: 8.76 MB / 0.7222 GB, free: 99.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.8453, allocations: 61.06 kB / 0.7223 GB, free: 99.93 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 5.671e-06/0.8453, allocations: 0 / 0.7223 GB, free: 99.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.113/0.9583, allocations: 34.88 MB / 0.7564 GB, free: 88.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.9584, allocations: 213.8 kB / 0.7566 GB, free: 87.86 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005675/0.9641, allocations: 4.81 MB / 0.7613 GB, free: 83.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005922/0.9647, allocations: 65.7 kB / 0.7613 GB, free: 82.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.9666, allocations: 3.591 MB / 0.7648 GB, free: 79.39 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.9678, allocations: 0.969 MB / 0.7658 GB, free: 78.43 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003263/0.9681, allocations: 128 kB / 0.7659 GB, free: 78.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002727/0.9684, allocations: 0.591 MB / 0.7665 GB, free: 77.71 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.972, allocations: 3.004 MB / 0.7694 GB, free: 74.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004565/0.9765, allocations: 6.812 MB / 0.7761 GB, free: 66.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009107/0.9857, allocations: 10.64 MB / 0.7864 GB, free: 53.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-05/0.9858, allocations: 43.94 kB / 0.7865 GB, free: 53.47 MB / 490.7 MB Notification: Performance of matching and sorting (n=872) (initialization): time 0.02323/1.009, allocations: 13.16 MB / 0.7993 GB, free: 40.29 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.208e-05/1.009, allocations: 67.34 kB / 0.7994 GB, free: 40.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/1.009, allocations: 132 kB / 0.7995 GB, free: 40.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/1.02, allocations: 4.225 MB / 0.8036 GB, free: 35.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004074/1.024, allocations: 1.415 MB / 0.805 GB, free: 34.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02931/1.054, allocations: 26.39 MB / 0.8308 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/1.059, allocations: 396.1 kB / 0.8312 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008972/1.06, allocations: 400 kB / 0.8316 GB, free: 6.914 MB / 490.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.003434/1.063, allocations: 2.477 MB / 0.834 GB, free: 4.426 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007345/1.064, allocations: 450.2 kB / 0.8344 GB, free: 3.98 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01518/1.079, allocations: 8.228 MB / 0.8424 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.015e-05/1.079, allocations: 31.94 kB / 0.8425 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.498e-05/1.079, allocations: 12 kB / 0.8425 GB, free: 11.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.182e-05/1.079, allocations: 11.95 kB / 0.8425 GB, free: 11.67 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02981/1.109, allocations: 16.86 MB / 0.859 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.109, allocations: 8 kB / 0.859 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001418/1.111, allocations: 312 kB / 0.8593 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/1.121, allocations: 3.932 MB / 0.8631 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003125/1.122, allocations: 55.98 kB / 0.8632 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.219/1.341, allocations: 25.16 MB / 0.8877 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.341, allocations: 5.094 kB / 0.8877 GB, free: 149.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01829/1.359, allocations: 12.09 MB / 0.8995 GB, free: 144.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002094/1.361, allocations: 0.9548 MB / 0.9005 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006876/1.362, allocations: 52.22 kB / 0.9005 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002061/1.364, allocations: 171.3 kB / 0.9007 GB, free: 144.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000947/1.365, allocations: 193 kB / 0.9009 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/1.365, allocations: 72.38 kB / 0.9009 GB, free: 144.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003938/1.369, allocations: 3.036 MB / 0.9039 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.51e-07/1.369, allocations: 1.125 kB / 0.9039 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005554/1.375, allocations: 1.428 MB / 0.9053 GB, free: 143.3 MB / 0.5105 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.02148/1.396, allocations: 12.77 MB / 0.9178 GB, free: 138.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0135/1.41, allocations: 8.122 MB / 0.9257 GB, free: 135 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.41, allocations: 0 / 0.9257 GB, free: 135 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005374/1.415, allocations: 3.51 MB / 0.9291 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007204/1.422, allocations: 0.5832 MB / 0.9297 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07991/1.502, allocations: 50.57 MB / 0.9791 GB, free: 84.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003398/1.506, allocations: 3.935 MB / 0.9829 GB, free: 80.86 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002555/1.508, allocations: 2.425 MB / 0.9853 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of SimCode: time 1.182e-06/1.508, allocations: 0 / 0.9853 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 9.144/10.65, allocations: 162.6 MB / 1.144 GB, free: 103.3 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches