Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_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.001435/0.001434, allocations: 118.4 kB / 17.78 MB, free: 5.258 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.00166/0.00166, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.322/1.322, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2007/0.2007, allocations: 44.18 MB / 336.7 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.91 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2985, allocations: 60.82 MB / 0.5184 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01587/0.3144, allocations: 17 MB / 0.535 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008916/0.3234, allocations: 3.928 MB / 0.5389 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.3265, allocations: 100.2 kB / 0.539 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004653/0.3312, allocations: 2.174 MB / 0.5411 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006559/0.3378, allocations: 2.602 MB / 0.5436 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001223/0.3391, allocations: 295.2 kB / 0.5439 GB, free: 472 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008881/0.348, allocations: 6.545 MB / 0.5503 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004067/0.3521, allocations: 3.342 MB / 0.5536 GB, free: 8.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.3553, allocations: 2.121 MB / 0.5556 GB, free: 5.922 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003298/0.3586, allocations: 2.787 MB / 0.5583 GB, free: 3.125 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.3597, allocations: 392 kB / 0.5587 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.3616, allocations: 0.8154 MB / 0.5595 GB, free: 1.926 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002289/0.3639, allocations: 2.789 MB / 0.5622 GB, free: 15.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003107/0.367, allocations: 3.349 MB / 0.5655 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009893/0.3769, allocations: 10.76 MB / 0.576 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.377, allocations: 0 / 0.576 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.377, allocations: 0 / 0.576 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002548/0.3772, allocations: 0 / 0.576 GB, free: 0.9453 MB / 430.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.01143/0.3887, allocations: 7.25 MB / 0.5831 GB, free: 9.598 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/0.3887, allocations: 12.03 kB / 0.5831 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001827/0.3906, allocations: 1.272 MB / 0.5844 GB, free: 8.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01923/0.4098, allocations: 5.911 MB / 0.5901 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007054/0.4169, allocations: 3.309 MB / 0.5934 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000232/0.4172, allocations: 324 kB / 0.5937 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001257/0.4184, allocations: 419.7 kB / 0.5941 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02693/0.4454, allocations: 18.88 MB / 0.6125 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.363e-05/0.4455, allocations: 35.69 kB / 0.6125 GB, free: 10.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008368/0.4464, allocations: 203.7 kB / 0.6127 GB, free: 10.4 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007062/0.4534, allocations: 4.746 MB / 0.6174 GB, free: 5.652 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02991/0.4834, allocations: 17.53 MB / 0.6345 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08146/0.5649, allocations: 60.99 MB / 0.6941 GB, free: 5.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01441/0.5793, allocations: 8.417 MB / 0.7023 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003569/0.5829, allocations: 2.587 MB / 0.7048 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2531/0.836, allocations: 11.89 MB / 0.7164 GB, free: 162.9 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.8361, allocations: 55.09 kB / 0.7165 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 7.794e-06/0.8361, allocations: 3.438 kB / 0.7165 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.01876/0.8549, allocations: 7.536 MB / 0.7238 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.855, allocations: 103.5 kB / 0.7239 GB, free: 161.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00916/0.8641, allocations: 5.696 MB / 0.7295 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004958/0.8647, allocations: 66.33 kB / 0.7295 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003536/0.8682, allocations: 5.288 MB / 0.7347 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/0.8699, allocations: 1.259 MB / 0.7359 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003284/0.8732, allocations: 1.913 MB / 0.7378 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.8732, allocations: 307.6 kB / 0.7381 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004254/0.8775, allocations: 3.204 MB / 0.7412 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006841/0.8844, allocations: 8.648 MB / 0.7497 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01127/0.8957, allocations: 12.91 MB / 0.7623 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002336/0.896, allocations: 56.16 kB / 0.7623 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01774/0.9137, allocations: 11.68 MB / 0.7737 GB, free: 124.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.9139, allocations: 88 kB / 0.7738 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002149/0.9141, allocations: 188 kB / 0.774 GB, free: 124.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001864/0.9143, allocations: 252 kB / 0.7742 GB, free: 124 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006187/0.9205, allocations: 2.078 MB / 0.7763 GB, free: 121.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002511/0.9208, allocations: 371.5 kB / 0.7766 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006911/0.9277, allocations: 1.357 MB / 0.778 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001386/0.9291, allocations: 0.558 MB / 0.7785 GB, free: 119.6 MB / 0.5606 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.005784/0.9349, allocations: 3.702 MB / 0.7821 GB, free: 115.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007951/0.9357, allocations: 0.5043 MB / 0.7826 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.937, allocations: 0.645 MB / 0.7832 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.082e-05/0.9371, allocations: 55.98 kB / 0.7833 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.498e-05/0.9372, allocations: 0.875 kB / 0.7833 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.9372, allocations: 15.95 kB / 0.7833 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02021/0.9574, allocations: 12.64 MB / 0.7957 GB, free: 101.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.098e-05/0.9575, allocations: 15.89 kB / 0.7957 GB, free: 101.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/0.9592, allocations: 423.3 kB / 0.7961 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-05/0.9593, allocations: 24 kB / 0.7961 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/0.9595, allocations: 60.39 kB / 0.7962 GB, free: 101.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.048e-05/0.9595, allocations: 35.86 kB / 0.7962 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-05/0.9595, allocations: 27.88 kB / 0.7962 GB, free: 101.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004896/0.9644, allocations: 4.662 MB / 0.8008 GB, free: 96.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.966, allocations: 0.5907 MB / 0.8013 GB, free: 95.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009507/0.9669, allocations: 48 kB / 0.8014 GB, free: 95.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/0.9688, allocations: 131.2 kB / 0.8015 GB, free: 95.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/0.9692, allocations: 172.8 kB / 0.8017 GB, free: 95.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.9694, allocations: 111.6 kB / 0.8018 GB, free: 95.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005101/0.9745, allocations: 3.486 MB / 0.8052 GB, free: 91.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.31e-07/0.9745, allocations: 4 kB / 0.8052 GB, free: 91.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008911/0.9834, allocations: 2.013 MB / 0.8072 GB, free: 89.86 MB / 0.5606 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.005531/0.989, allocations: 5.338 MB / 0.8124 GB, free: 84.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009409/0.9984, allocations: 7.335 MB / 0.8195 GB, free: 76.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.61e-05/0.9985, allocations: 4 kB / 0.8195 GB, free: 76.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002347/1.001, allocations: 2.018 MB / 0.8215 GB, free: 74.97 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003753/1.005, allocations: 0.6188 MB / 0.8221 GB, free: 74.36 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08706/1.092, allocations: 68.36 MB / 0.8889 GB, free: 13.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009314/1.101, allocations: 5.427 MB / 0.8942 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008442/1.11, allocations: 3.543 MB / 0.8976 GB, free: 4.281 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005686/1.115, allocations: 3.327 MB / 0.9009 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of SimCode: time 1.153e-06/1.115, allocations: 0 / 0.9009 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3891/1.504, allocations: 91.28 MB / 0.99 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.53/24.04, allocations: 5.594 kB / 0.99 GB, free: 189.4 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches