Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.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.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Rotor1D,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D",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.001135/0.001135, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001138/0.001138, allocations: 190.9 kB / 17.2 MB, free: 5.574 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.435/1.435, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2157/0.2157, allocations: 43.52 MB / 313.9 MB, free: 0.5234 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.00226/0.00226, allocations: 65.98 kB / 382.8 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1152, allocations: 57.79 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.0135/0.1288, allocations: 15.96 MB / 456.6 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008962/0.1378, allocations: 3.858 MB / 460.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003757/0.1416, allocations: 79.81 kB / 460.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006469/0.1482, allocations: 3.095 MB / 463.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006047/0.1542, allocations: 1.749 MB / 465.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1558, allocations: 467.2 kB / 465.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006324/0.1622, allocations: 4.032 MB / 469.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004755/0.167, allocations: 3.612 MB / 473.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003268/0.1703, allocations: 1.888 MB / 475.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00476/0.1751, allocations: 3.011 MB / 478.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.1765, allocations: 496 kB / 478.8 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.179, allocations: 0.9209 MB / 479.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00288/0.1819, allocations: 2.248 MB / 482 MB, free: 13.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005444/0.1874, allocations: 2.797 MB / 484.8 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.1984, allocations: 8.435 MB / 493.2 MB, free: 1.941 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.788e-06/0.1984, allocations: 4 kB / 493.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1984, allocations: 0 / 493.2 MB, free: 1.938 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003308/0.1988, allocations: 4 kB / 493.2 MB, free: 1.934 MB / 366.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.09139/0.2902, allocations: 11.1 MB / 0.4925 GB, free: 6.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.2902, allocations: 11.89 kB / 0.4925 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003258/0.2935, allocations: 0.8181 MB / 0.4933 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008267/0.3018, allocations: 1.861 MB / 0.4951 GB, free: 4.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007823/0.3096, allocations: 3.251 MB / 0.4983 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003309/0.31, allocations: 295.5 kB / 0.4986 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002862/0.3129, allocations: 415.5 kB / 0.499 GB, free: 44 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05602/0.3689, allocations: 19.55 MB / 0.5181 GB, free: 11.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002815/0.3692, allocations: 55.42 kB / 0.5181 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00251/0.3718, allocations: 179.9 kB / 0.5183 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006229/0.378, allocations: 2.338 MB / 0.5206 GB, free: 9.207 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2505/0.6285, allocations: 22.39 MB / 0.5425 GB, free: 77.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05901/0.6876, allocations: 52.51 MB / 0.5937 GB, free: 33.6 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06766/0.7553, allocations: 9.166 MB / 0.6027 GB, free: 24.29 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003573/0.7589, allocations: 3.017 MB / 0.6056 GB, free: 21.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.7606, allocations: 354.7 kB / 0.606 GB, free: 20.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.7607, allocations: 56.98 kB / 0.606 GB, free: 20.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=212): time 5.491e-06/0.7607, allocations: 0 / 0.606 GB, free: 20.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=212): time 0.1318/0.8925, allocations: 16.1 MB / 0.6218 GB, free: 4.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/0.8925, allocations: 157.8 kB / 0.6219 GB, free: 4.562 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005831/0.8984, allocations: 4.698 MB / 0.6265 GB, free: 15.85 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005207/0.8989, allocations: 53.7 kB / 0.6265 GB, free: 15.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002645/0.9016, allocations: 3.49 MB / 0.6299 GB, free: 12.3 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001324/0.9029, allocations: 0.8354 MB / 0.6308 GB, free: 11.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002209/0.9051, allocations: 1.544 MB / 0.6323 GB, free: 9.922 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.9053, allocations: 305.1 kB / 0.6326 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004298/0.9096, allocations: 3.173 MB / 0.6357 GB, free: 6.445 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008342/0.9179, allocations: 7.468 MB / 0.643 GB, free: 12.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01593/0.9339, allocations: 11.48 MB / 0.6542 GB, free: 15.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002687/0.9342, allocations: 44 kB / 0.6542 GB, free: 15.17 MB / 462.1 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02164/0.9559, allocations: 10.62 MB / 0.6646 GB, free: 4.539 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.956, allocations: 68 kB / 0.6646 GB, free: 4.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/0.9562, allocations: 156 kB / 0.6648 GB, free: 4.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001835/0.9564, allocations: 200 kB / 0.665 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006399/0.9628, allocations: 1.793 MB / 0.6667 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002713/0.9631, allocations: 306.8 kB / 0.667 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006419/0.9695, allocations: 0.9206 MB / 0.6679 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/0.971, allocations: 0.5154 MB / 0.6684 GB, free: 0.582 MB / 462.1 MB 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.004956/0.976, allocations: 2.314 MB / 0.6707 GB, free: 14.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001333/0.9774, allocations: 402.8 kB / 0.6711 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008158/0.9855, allocations: 4.869 MB / 0.6758 GB, free: 8.969 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.688e-05/0.9856, allocations: 24 kB / 0.6759 GB, free: 8.945 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.181e-05/0.9857, allocations: 4 kB / 0.6759 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/0.9857, allocations: 11.95 kB / 0.6759 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02653/1.012, allocations: 11.53 MB / 0.6871 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-05/1.012, allocations: 8 kB / 0.6871 GB, free: 13.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003046/1.015, allocations: 0.5967 MB / 0.6877 GB, free: 12.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-05/1.015, allocations: 19.94 kB / 0.6877 GB, free: 12.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005261/1.016, allocations: 147.6 kB / 0.6879 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.952e-05/1.016, allocations: 20.56 kB / 0.6879 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.797e-06/1.016, allocations: 15.94 kB / 0.6879 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/1.028, allocations: 8.906 MB / 0.6966 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.029, allocations: 0.507 MB / 0.6971 GB, free: 2.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.03, allocations: 44 kB / 0.6971 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002594/1.033, allocations: 87.97 kB / 0.6972 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000481/1.033, allocations: 240.7 kB / 0.6975 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003789/1.034, allocations: 163.8 kB / 0.6976 GB, free: 2.406 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006103/1.04, allocations: 2.95 MB / 0.7005 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.5e-07/1.04, allocations: 0 / 0.7005 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006757/1.047, allocations: 1.373 MB / 0.7018 GB, free: 14.09 MB / 0.4981 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.01184/1.059, allocations: 9.562 MB / 0.7112 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2321/1.291, allocations: 8.835 MB / 0.7198 GB, free: 171.6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/1.291, allocations: 2.281 kB / 0.7198 GB, free: 171.6 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003559/1.294, allocations: 2.442 MB / 0.7222 GB, free: 171.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00398/1.298, allocations: 0.5677 MB / 0.7227 GB, free: 171.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08726/1.386, allocations: 67.22 MB / 0.7884 GB, free: 108.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005732/1.391, allocations: 3.588 MB / 0.7919 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007354/1.399, allocations: 2.302 MB / 0.7941 GB, free: 102.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004437/1.403, allocations: 2.494 MB / 0.7966 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/1.403, allocations: 7.938 kB / 0.7966 GB, free: 100.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1405/1.544, allocations: 97.89 MB / 0.8922 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.88, allocations: 7.812 kB / 0.8922 GB, free: 2.133 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_MultiBody_InitializationConversion_Rotor1D.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/InitializationConversion/Rotor1D/Rotor1D.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.InitializationConversion.Rotor1D.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches