Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation",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.001355/0.001355, allocations: 109.3 kB / 16.4 MB, free: 6.332 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.001321/0.001321, allocations: 185.2 kB / 17.33 MB, free: 5.816 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.2188/0.2188, allocations: 43.53 MB / 314.1 MB, free: 464 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.002047/0.002047, allocations: 64.38 kB / 441.3 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09924/0.1013, allocations: 57.8 MB / 499.1 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01896/0.1203, allocations: 17.05 MB / 0.5041 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009531/0.1299, allocations: 3.898 MB / 0.5079 GB, free: 7.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.1327, allocations: 99.81 kB / 0.508 GB, free: 7.148 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004668/0.1374, allocations: 2.175 MB / 0.5101 GB, free: 4.965 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005904/0.1433, allocations: 2.506 MB / 0.5125 GB, free: 2.449 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009314/0.1443, allocations: 295.5 kB / 0.5128 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008792/0.1531, allocations: 6.36 MB / 0.519 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004551/0.1577, allocations: 3.33 MB / 0.5223 GB, free: 8.402 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.1613, allocations: 2.145 MB / 0.5244 GB, free: 6.25 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004061/0.1653, allocations: 2.787 MB / 0.5271 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001147/0.1665, allocations: 392 kB / 0.5275 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.1686, allocations: 0.792 MB / 0.5282 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2187/0.3873, allocations: 2.784 MB / 0.531 GB, free: 9.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005463/0.3929, allocations: 3.348 MB / 0.5342 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.4063, allocations: 10.75 MB / 0.5447 GB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4064, allocations: 0 / 0.5447 GB, free: 6.516 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4064, allocations: 0 / 0.5447 GB, free: 6.516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005673/0.407, allocations: 1.125 kB / 0.5447 GB, free: 6.516 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.0203/0.4273, allocations: 7.242 MB / 0.5518 GB, free: 3.375 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.4274, allocations: 15.27 kB / 0.5518 GB, free: 3.371 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003901/0.4313, allocations: 1.277 MB / 0.5531 GB, free: 3.266 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02077/0.4521, allocations: 5.905 MB / 0.5588 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007381/0.4595, allocations: 3.3 MB / 0.5621 GB, free: 1.086 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002734/0.4598, allocations: 328.5 kB / 0.5624 GB, free: 1.012 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002196/0.462, allocations: 418.9 kB / 0.5628 GB, free: 0.9492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03308/0.4951, allocations: 18.89 MB / 0.5812 GB, free: 6.645 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.83e-05/0.4952, allocations: 31.59 kB / 0.5812 GB, free: 6.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009441/0.4962, allocations: 212.8 kB / 0.5815 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008741/0.5049, allocations: 4.74 MB / 0.5861 GB, free: 1.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03919/0.5441, allocations: 17.53 MB / 0.6032 GB, free: 468 kB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1083/0.6525, allocations: 60.99 MB / 0.6628 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01716/0.6697, allocations: 8.426 MB / 0.671 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004847/0.6746, allocations: 2.583 MB / 0.6735 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02396/0.6986, allocations: 11.89 MB / 0.6851 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.6987, allocations: 59.64 kB / 0.6852 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=321): time 9.007e-06/0.6987, allocations: 0 / 0.6852 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=321): time 0.02004/0.7187, allocations: 7.541 MB / 0.6925 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.769e-05/0.7189, allocations: 99.11 kB / 0.6926 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0109/0.7298, allocations: 5.697 MB / 0.6982 GB, free: 13.7 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000487/0.7303, allocations: 64.28 kB / 0.6983 GB, free: 13.63 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004798/0.7351, allocations: 5.283 MB / 0.7034 GB, free: 8.375 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001944/0.7371, allocations: 1.252 MB / 0.7046 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003369/0.7405, allocations: 1.921 MB / 0.7065 GB, free: 5.215 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7406, allocations: 301.1 kB / 0.7068 GB, free: 4.918 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005548/0.7462, allocations: 3.216 MB / 0.7099 GB, free: 1.695 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/0.7572, allocations: 8.645 MB / 0.7184 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01712/0.7743, allocations: 12.91 MB / 0.731 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001623/0.7745, allocations: 52 kB / 0.731 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0249/0.7994, allocations: 11.67 MB / 0.7424 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.7997, allocations: 92.25 kB / 0.7425 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003654/0.8001, allocations: 188 kB / 0.7427 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003455/0.8004, allocations: 256.1 kB / 0.743 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00759/0.808, allocations: 2.082 MB / 0.745 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004689/0.8085, allocations: 374.5 kB / 0.7453 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007625/0.8162, allocations: 1.369 MB / 0.7467 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001765/0.818, allocations: 0.5538 MB / 0.7472 GB, free: 6.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008757/0.8268, allocations: 3.698 MB / 0.7508 GB, free: 3.207 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001187/0.828, allocations: 0.5005 MB / 0.7513 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002082/0.8301, allocations: 0.6528 MB / 0.752 GB, free: 2.043 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001123/0.8302, allocations: 51.59 kB / 0.752 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/0.8302, allocations: 3.938 kB / 0.752 GB, free: 1.992 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.874e-05/0.8303, allocations: 19.88 kB / 0.752 GB, free: 1.973 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2346/1.065, allocations: 12.63 MB / 0.7644 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.309e-05/1.065, allocations: 13.5 kB / 0.7644 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.067, allocations: 430.2 kB / 0.7648 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.732e-05/1.067, allocations: 23.94 kB / 0.7648 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001848/1.067, allocations: 56.06 kB / 0.7649 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/1.067, allocations: 33.97 kB / 0.7649 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.328e-05/1.067, allocations: 22.97 kB / 0.7649 GB, free: 203.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005317/1.072, allocations: 4.672 MB / 0.7695 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001251/1.074, allocations: 0.5839 MB / 0.77 GB, free: 201.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000795/1.074, allocations: 62.28 kB / 0.7701 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001671/1.076, allocations: 120.6 kB / 0.7702 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003228/1.076, allocations: 180.9 kB / 0.7704 GB, free: 201 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.077, allocations: 104.3 kB / 0.7705 GB, free: 200.9 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005604/1.082, allocations: 3.491 MB / 0.7739 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.31e-07/1.082, allocations: 0 / 0.7739 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00836/1.091, allocations: 2.004 MB / 0.7759 GB, free: 199.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005601/1.096, allocations: 5.345 MB / 0.7811 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009263/1.106, allocations: 7.348 MB / 0.7883 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.42e-05/1.106, allocations: 0.875 kB / 0.7883 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002261/1.108, allocations: 2.01 MB / 0.7902 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003215/1.111, allocations: 0.6309 MB / 0.7908 GB, free: 192.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08063/1.192, allocations: 68.36 MB / 0.8576 GB, free: 117.7 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006925/1.199, allocations: 5.413 MB / 0.8629 GB, free: 112.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007049/1.206, allocations: 3.546 MB / 0.8663 GB, free: 108.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005155/1.211, allocations: 3.334 MB / 0.8696 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of SimCode: time 7.82e-07/1.211, allocations: 0 / 0.8696 GB, free: 105.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.332, allocations: 91.25 MB / 0.9587 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.04/26.38, allocations: 4 kB / 0.9587 GB, free: 14.09 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches