Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00152/0.00152, allocations: 117.6 kB / 17.78 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.001841, allocations: 204.7 kB / 18.74 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 227.4 MB / 246.9 MB, free: 10.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2276/0.2276, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 71.88 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3963, allocations: 62.43 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01767/0.4141, allocations: 15.91 MB / 0.546 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4253, allocations: 3.854 MB / 0.5498 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004147/0.4295, allocations: 96.03 kB / 0.5499 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007393/0.437, allocations: 3.108 MB / 0.5529 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006432/0.4434, allocations: 1.816 MB / 0.5547 GB, free: 8.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001796/0.4453, allocations: 455.3 kB / 0.5551 GB, free: 8.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006483/0.4518, allocations: 4.006 MB / 0.5591 GB, free: 4.465 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005571/0.4574, allocations: 3.6 MB / 0.5626 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003556/0.461, allocations: 1.908 MB / 0.5644 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004886/0.4659, allocations: 2.999 MB / 0.5674 GB, free: 11.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001771/0.4678, allocations: 500 kB / 0.5678 GB, free: 11.39 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.4707, allocations: 0.9405 MB / 0.5688 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0031/0.4738, allocations: 2.229 MB / 0.5709 GB, free: 8.219 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004924/0.4788, allocations: 2.774 MB / 0.5736 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.4902, allocations: 8.7 MB / 0.5821 GB, free: 12.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.4903, allocations: 0 / 0.5821 GB, free: 12.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4903, allocations: 3.938 kB / 0.5821 GB, free: 12.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003527/0.4906, allocations: 0 / 0.5821 GB, free: 12.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.08661/0.5773, allocations: 11.34 MB / 0.5932 GB, free: 1.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.5773, allocations: 8.031 kB / 0.5932 GB, free: 1.258 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003317/0.5807, allocations: 0.8103 MB / 0.594 GB, free: 448 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008029/0.5887, allocations: 1.896 MB / 0.5959 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008331/0.5971, allocations: 3.326 MB / 0.5991 GB, free: 11.15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000344/0.5975, allocations: 295.5 kB / 0.5994 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002819/0.6003, allocations: 411.7 kB / 0.5998 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05508/0.6554, allocations: 19.55 MB / 0.6189 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/0.6557, allocations: 47.64 kB / 0.6189 GB, free: 6.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002202/0.6579, allocations: 183.8 kB / 0.6191 GB, free: 5.961 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005857/0.6638, allocations: 2.341 MB / 0.6214 GB, free: 3.613 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05345/0.7173, allocations: 22.4 MB / 0.6433 GB, free: 13.19 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07751/0.7949, allocations: 52.46 MB / 0.6945 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06545/0.8604, allocations: 9.165 MB / 0.7034 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00458/0.865, allocations: 3.029 MB / 0.7064 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/0.8668, allocations: 348.6 kB / 0.7067 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.055e-05/0.8669, allocations: 63.81 kB / 0.7068 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=212): time 7.695e-06/0.8669, allocations: 0 / 0.7068 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=212): time 0.4204/1.287, allocations: 16.11 MB / 0.7225 GB, free: 163.5 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/1.287, allocations: 152.5 kB / 0.7227 GB, free: 163.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008074/1.296, allocations: 4.697 MB / 0.7273 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005433/1.296, allocations: 61.45 kB / 0.7273 GB, free: 162 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001959/1.298, allocations: 3.622 MB / 0.7309 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001116/1.299, allocations: 0.8715 MB / 0.7317 GB, free: 159.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002177/1.301, allocations: 1.557 MB / 0.7332 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.583e-05/1.301, allocations: 304.9 kB / 0.7335 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003655/1.305, allocations: 3.171 MB / 0.7366 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005618/1.311, allocations: 7.459 MB / 0.7439 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.321, allocations: 11.48 MB / 0.7551 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001502/1.321, allocations: 44 kB / 0.7551 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01725/1.338, allocations: 10.63 MB / 0.7655 GB, free: 130 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000126/1.339, allocations: 72.92 kB / 0.7656 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/1.339, allocations: 156 kB / 0.7658 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/1.339, allocations: 200 kB / 0.7659 GB, free: 129.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006084/1.345, allocations: 1.801 MB / 0.7677 GB, free: 127.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000238/1.345, allocations: 299.5 kB / 0.768 GB, free: 127.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006547/1.352, allocations: 0.9487 MB / 0.7689 GB, free: 126.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.353, allocations: 0.5154 MB / 0.7694 GB, free: 126 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 695 * Number of states: 0 () * Number of discrete variables: 42 (rotor1D10.cylinderColor[3],rotor1D10.cylinderColor[2],rotor1D10.cylinderColor[1],rotor1D9.cylinderColor[3],rotor1D9.cylinderColor[2],rotor1D9.cylinderColor[1],rotor1D8.cylinderColor[3],rotor1D8.cylinderColor[2],rotor1D8.cylinderColor[1],rotor1D7.cylinderColor[3],rotor1D7.cylinderColor[2],rotor1D7.cylinderColor[1],rotor1D6.cylinderColor[3],rotor1D6.cylinderColor[2],rotor1D6.cylinderColor[1],rotor1D5.cylinderColor[3],rotor1D5.cylinderColor[2],rotor1D5.cylinderColor[1],rotor1D4.cylinderColor[3],rotor1D4.cylinderColor[2],rotor1D4.cylinderColor[1],rotor1D3.cylinderColor[3],rotor1D3.cylinderColor[2],rotor1D3.cylinderColor[1],rotor1D2.cylinderColor[3],rotor1D2.cylinderColor[2],rotor1D2.cylinderColor[1],rotor1D1.cylinderColor[3],rotor1D1.cylinderColor[2],rotor1D1.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 (855): * Single equations (assignments): 852 * Array equations: 3 * 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.004782/1.358, allocations: 2.312 MB / 0.7717 GB, free: 123.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001214/1.359, allocations: 429.1 kB / 0.7721 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006183/1.366, allocations: 4.865 MB / 0.7768 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.452e-05/1.366, allocations: 24 kB / 0.7769 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-05/1.366, allocations: 3.938 kB / 0.7769 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.248e-05/1.366, allocations: 15.95 kB / 0.7769 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01706/1.383, allocations: 11.52 MB / 0.7881 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/1.383, allocations: 8 kB / 0.7881 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.386, allocations: 0.5975 MB / 0.7887 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.999e-05/1.386, allocations: 19.94 kB / 0.7887 GB, free: 106.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004921/1.386, allocations: 143.8 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/1.386, allocations: 23.92 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.386, allocations: 11.94 kB / 0.7889 GB, free: 105.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009178/1.396, allocations: 8.926 MB / 0.7976 GB, free: 96.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/1.397, allocations: 0.5252 MB / 0.7981 GB, free: 96.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009561/1.398, allocations: 50.61 kB / 0.7982 GB, free: 96.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002135/1.4, allocations: 87.92 kB / 0.7983 GB, free: 96.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/1.4, allocations: 232.8 kB / 0.7985 GB, free: 95.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003072/1.401, allocations: 175.6 kB / 0.7987 GB, free: 95.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004544/1.405, allocations: 2.95 MB / 0.8015 GB, free: 92.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.31e-07/1.405, allocations: 0 / 0.8015 GB, free: 92.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006356/1.412, allocations: 1.368 MB / 0.8029 GB, free: 91.48 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (rotor1D1.phi,rotor1D1.w,rotor1D2.phi,rotor1D2.w,rotor1D3.phi,rotor1D3.w,rotor1D4.phi,rotor1D4.w,rotor1D5.phi,rotor1D5.w,rotor1D6.phi,rotor1D6.w,rotor1D7.phi,rotor1D7.w,rotor1D8.phi,rotor1D8.w,rotor1D9.phi,rotor1D9.w,rotor1D10.phi,rotor1D10.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 (208): * Single equations (assignments): 205 * Array equations: 3 * 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.009644/1.421, allocations: 9.585 MB / 0.8122 GB, free: 81.77 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008637/1.43, allocations: 7.129 MB / 0.8192 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.43, allocations: 0 / 0.8192 GB, free: 74.68 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/1.433, allocations: 2.445 MB / 0.8216 GB, free: 72.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003544/1.436, allocations: 0.5622 MB / 0.8221 GB, free: 71.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08019/1.516, allocations: 59.92 MB / 0.8807 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00474/1.521, allocations: 3.595 MB / 0.8842 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006056/1.527, allocations: 2.302 MB / 0.8864 GB, free: 15.01 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004834/1.532, allocations: 2.494 MB / 0.8888 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of SimCode: time 9.92e-07/1.532, allocations: 0 / 0.8888 GB, free: 12.52 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4212/1.953, allocations: 93.18 MB / 0.9798 GB, free: 201.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.66/21.62, allocations: 11.22 kB / 0.9799 GB, free: 201.4 MB / 0.6231 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_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_trunk_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches