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.001799/0.001799, allocations: 103.9 kB / 16.41 MB, free: 6.449 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.002002/0.002002, allocations: 188.1 kB / 17.34 MB, free: 5.742 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.537/1.537, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2287/0.2287, allocations: 43.52 MB / 314.1 MB, free: 448 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.002166/0.002166, allocations: 67.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1189, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01833/0.1373, allocations: 15.97 MB / 0.503 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008855/0.1462, allocations: 3.858 MB / 0.5067 GB, free: 8.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002537/0.1488, allocations: 79.81 kB / 0.5068 GB, free: 8.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006551/0.1554, allocations: 3.091 MB / 0.5098 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.1604, allocations: 1.757 MB / 0.5116 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.1619, allocations: 467.2 kB / 0.512 GB, free: 2.996 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006238/0.1681, allocations: 4.04 MB / 0.5159 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005149/0.1733, allocations: 3.6 MB / 0.5195 GB, free: 11.27 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003271/0.1766, allocations: 1.892 MB / 0.5213 GB, free: 9.375 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.1815, allocations: 3.003 MB / 0.5242 GB, free: 6.363 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001495/0.183, allocations: 496 kB / 0.5247 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.1863, allocations: 0.921 MB / 0.5256 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003617/0.19, allocations: 2.252 MB / 0.5278 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2141/0.4041, allocations: 2.795 MB / 0.5305 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01223/0.4163, allocations: 8.729 MB / 0.5391 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4164, allocations: 0 / 0.5391 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.018e-06/0.4164, allocations: 0 / 0.5391 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003821/0.4168, allocations: 3.938 kB / 0.5391 GB, free: 10.68 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: 1705 * Number of variables: 1705 Notification: Performance of Generate backend data structure: time 0.09115/0.5079, allocations: 11.25 MB / 0.5501 GB, free: 8.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.508, allocations: 17.02 kB / 0.5501 GB, free: 8.23 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003616/0.5116, allocations: 0.811 MB / 0.5509 GB, free: 8.152 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008471/0.5201, allocations: 1.89 MB / 0.5527 GB, free: 7.789 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007509/0.5277, allocations: 3.297 MB / 0.5559 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003275/0.528, allocations: 290.5 kB / 0.5562 GB, free: 6.738 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002986/0.531, allocations: 414 kB / 0.5566 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05277/0.5838, allocations: 19.54 MB / 0.5757 GB, free: 12.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002441/0.5841, allocations: 57.95 kB / 0.5757 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002153/0.5863, allocations: 181.3 kB / 0.5759 GB, free: 12.02 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006539/0.5928, allocations: 2.348 MB / 0.5782 GB, free: 9.703 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06047/0.6533, allocations: 22.39 MB / 0.6001 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08487/0.7382, allocations: 52.45 MB / 0.6513 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07209/0.8104, allocations: 9.163 MB / 0.6602 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004768/0.8152, allocations: 3.032 MB / 0.6632 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001895/0.8171, allocations: 358.6 kB / 0.6635 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.367e-05/0.8172, allocations: 51.88 kB / 0.6636 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=212): time 5.29e-06/0.8172, allocations: 0 / 0.6636 GB, free: 1.594 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.1439/0.9611, allocations: 16.12 MB / 0.6793 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.9612, allocations: 157.8 kB / 0.6795 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01022/0.9715, allocations: 4.703 MB / 0.6841 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006391/0.9722, allocations: 49.7 kB / 0.6841 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003684/0.9759, allocations: 3.632 MB / 0.6877 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001638/0.9775, allocations: 0.8759 MB / 0.6885 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003586/0.9811, allocations: 1.549 MB / 0.69 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.9813, allocations: 305.1 kB / 0.6903 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005519/0.9868, allocations: 3.179 MB / 0.6934 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009994/0.9969, allocations: 7.457 MB / 0.7007 GB, free: 9.465 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01606/1.013, allocations: 11.49 MB / 0.7119 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/1.013, allocations: 48 kB / 0.712 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02115/1.034, allocations: 10.63 MB / 0.7224 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.035, allocations: 72.19 kB / 0.7224 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002014/1.035, allocations: 156 kB / 0.7226 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/1.035, allocations: 200 kB / 0.7228 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006766/1.042, allocations: 1.801 MB / 0.7245 GB, free: 52 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003064/1.042, allocations: 295 kB / 0.7248 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006337/1.048, allocations: 0.9539 MB / 0.7257 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001333/1.05, allocations: 0.5142 MB / 0.7263 GB, free: 14.29 MB / 0.5762 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.004955/1.055, allocations: 2.314 MB / 0.7285 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.056, allocations: 429.1 kB / 0.7289 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007974/1.064, allocations: 4.865 MB / 0.7337 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.349e-05/1.064, allocations: 25.36 kB / 0.7337 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/1.064, allocations: 4 kB / 0.7337 GB, free: 6.637 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.847e-05/1.064, allocations: 7.969 kB / 0.7337 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02345/1.087, allocations: 11.53 MB / 0.745 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.088, allocations: 8.469 kB / 0.745 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003115/1.091, allocations: 0.5967 MB / 0.7456 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.195e-05/1.091, allocations: 16 kB / 0.7456 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005334/1.091, allocations: 144.4 kB / 0.7457 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.828e-05/1.091, allocations: 23.92 kB / 0.7457 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.138e-05/1.091, allocations: 19.88 kB / 0.7458 GB, free: 10.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01335/1.105, allocations: 8.926 MB / 0.7545 GB, free: 1.145 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.106, allocations: 0.5252 MB / 0.755 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001238/1.107, allocations: 51.98 kB / 0.755 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002833/1.11, allocations: 86.72 kB / 0.7551 GB, free: 476 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007099/1.111, allocations: 244.7 kB / 0.7553 GB, free: 232 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003797/1.111, allocations: 163.8 kB / 0.7555 GB, free: 68 kB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.2518/1.363, allocations: 2.949 MB / 0.7584 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8.61e-07/1.363, allocations: 0 / 0.7584 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007401/1.371, allocations: 1.381 MB / 0.7597 GB, free: 211.1 MB / 0.5919 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.0121/1.383, allocations: 9.602 MB / 0.7691 GB, free: 207.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00966/1.393, allocations: 7.128 MB / 0.7761 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.341e-05/1.393, allocations: 3.812 kB / 0.7761 GB, free: 206 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002611/1.395, allocations: 2.44 MB / 0.7785 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004167/1.399, allocations: 0.5618 MB / 0.779 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0722/1.472, allocations: 59.94 MB / 0.8375 GB, free: 145.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004365/1.476, allocations: 3.592 MB / 0.841 GB, free: 141.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005335/1.481, allocations: 2.302 MB / 0.8433 GB, free: 139.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00387/1.485, allocations: 2.49 MB / 0.8457 GB, free: 136.8 MB / 0.5919 GB Notification: Performance of SimCode: time 9.61e-07/1.485, allocations: 0 / 0.8457 GB, free: 136.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1393/1.625, allocations: 93.2 MB / 0.9367 GB, free: 43.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.57/22.19, allocations: 7.891 kB / 0.9367 GB, free: 43.55 MB / 0.5919 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