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.001072/0.001072, allocations: 106.3 kB / 16.4 MB, free: 6.465 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.001086/0.001086, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.257/1.257, 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.1928/0.1928, allocations: 43.53 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.001369/0.001369, allocations: 63.91 kB / 441.3 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09552/0.0969, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.0148/0.1117, allocations: 15.97 MB / 0.503 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008158/0.1199, allocations: 3.858 MB / 0.5067 GB, free: 8.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001968/0.122, allocations: 79.81 kB / 0.5068 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005195/0.1272, allocations: 3.095 MB / 0.5098 GB, free: 5.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004168/0.1314, allocations: 1.823 MB / 0.5116 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1324, allocations: 467.2 kB / 0.5121 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005338/0.1378, allocations: 4.037 MB / 0.516 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00417/0.142, allocations: 3.6 MB / 0.5195 GB, free: 11.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00275/0.1448, allocations: 1.916 MB / 0.5214 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00386/0.1486, allocations: 3.007 MB / 0.5243 GB, free: 6.262 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.1497, allocations: 496 kB / 0.5248 GB, free: 5.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001918/0.1516, allocations: 0.9249 MB / 0.5257 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002141/0.1538, allocations: 2.248 MB / 0.5279 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2136/0.3674, allocations: 2.8 MB / 0.5306 GB, free: 11.08 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01382/0.3813, allocations: 8.725 MB / 0.5392 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/0.3813, allocations: 1.438 kB / 0.5392 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3813, allocations: 0 / 0.5392 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003507/0.3817, allocations: 0 / 0.5392 GB, free: 10.54 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.09333/0.475, allocations: 11.26 MB / 0.5502 GB, free: 8.094 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4751, allocations: 13.02 kB / 0.5502 GB, free: 8.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003928/0.479, allocations: 0.817 MB / 0.551 GB, free: 8.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008821/0.4879, allocations: 1.886 MB / 0.5528 GB, free: 7.648 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008472/0.4964, allocations: 3.293 MB / 0.556 GB, free: 6.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002788/0.4967, allocations: 290.7 kB / 0.5563 GB, free: 6.582 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002906/0.4996, allocations: 414.2 kB / 0.5567 GB, free: 6.566 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05275/0.5524, allocations: 19.55 MB / 0.5758 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002171/0.5526, allocations: 53.94 kB / 0.5758 GB, free: 12.03 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002103/0.5547, allocations: 183 kB / 0.576 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005875/0.5606, allocations: 2.341 MB / 0.5783 GB, free: 9.574 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05608/0.6167, allocations: 22.39 MB / 0.6002 GB, free: 3.359 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08051/0.6973, allocations: 52.46 MB / 0.6514 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07082/0.7682, allocations: 9.16 MB / 0.6603 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004104/0.7723, allocations: 3.025 MB / 0.6633 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001857/0.7742, allocations: 363.6 kB / 0.6636 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.7742, allocations: 54.59 kB / 0.6637 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=212): time 5.961e-06/0.7743, allocations: 0 / 0.6637 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=212): time 0.1408/0.915, allocations: 16.12 MB / 0.6794 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.9152, allocations: 149.8 kB / 0.6796 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01082/0.926, allocations: 4.711 MB / 0.6842 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006593/0.9267, allocations: 60.89 kB / 0.6842 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003201/0.9299, allocations: 3.629 MB / 0.6878 GB, free: 8.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001606/0.9316, allocations: 0.8734 MB / 0.6886 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004202/0.9358, allocations: 1.547 MB / 0.6901 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.9359, allocations: 313.1 kB / 0.6904 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004927/0.9409, allocations: 3.168 MB / 0.6935 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00819/0.9491, allocations: 7.458 MB / 0.7008 GB, free: 9.328 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01391/0.963, allocations: 11.5 MB / 0.712 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001666/0.9632, allocations: 44 kB / 0.7121 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01982/0.9831, allocations: 10.62 MB / 0.7225 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.9833, allocations: 76.06 kB / 0.7225 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002413/0.9835, allocations: 152 kB / 0.7227 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/0.9838, allocations: 200 kB / 0.7229 GB, free: 1.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006845/0.9906, allocations: 1.805 MB / 0.7246 GB, free: 15.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000357/0.991, allocations: 298.8 kB / 0.7249 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007087/0.9981, allocations: 0.9424 MB / 0.7258 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001533/0.9997, allocations: 0.5154 MB / 0.7263 GB, free: 14.16 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.005158/1.005, allocations: 2.316 MB / 0.7286 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001293/1.006, allocations: 431 kB / 0.729 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007353/1.013, allocations: 4.869 MB / 0.7338 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.176e-05/1.014, allocations: 24 kB / 0.7338 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/1.014, allocations: 0 / 0.7338 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/1.014, allocations: 11.95 kB / 0.7338 GB, free: 6.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/1.035, allocations: 11.53 MB / 0.7451 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/1.035, allocations: 8.469 kB / 0.7451 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002925/1.038, allocations: 0.6044 MB / 0.7456 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.954e-05/1.038, allocations: 16.78 kB / 0.7457 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004128/1.038, allocations: 143.8 kB / 0.7458 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.251e-05/1.038, allocations: 23.94 kB / 0.7458 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-05/1.038, allocations: 15.88 kB / 0.7458 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.049, allocations: 8.934 MB / 0.7546 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.05, allocations: 0.5252 MB / 0.7551 GB, free: 472 kB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.052, allocations: 47.28 kB / 0.7551 GB, free: 428 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002484/1.054, allocations: 87.97 kB / 0.7552 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000439/1.054, allocations: 240.7 kB / 0.7554 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.2101/1.265, allocations: 158 kB / 0.7556 GB, free: 211.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006458/1.271, allocations: 2.956 MB / 0.7585 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.01e-07/1.271, allocations: 0 / 0.7585 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007801/1.279, allocations: 1.377 MB / 0.7598 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.01285/1.292, allocations: 9.591 MB / 0.7692 GB, free: 208 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.009065/1.301, allocations: 7.131 MB / 0.7761 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.301, allocations: 0 / 0.7761 GB, free: 206.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002391/1.303, allocations: 2.442 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.003601/1.307, allocations: 0.5676 MB / 0.7791 GB, free: 205.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0706/1.378, allocations: 59.94 MB / 0.8376 GB, free: 145.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003698/1.381, allocations: 3.588 MB / 0.8411 GB, free: 141.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005277/1.387, allocations: 2.306 MB / 0.8434 GB, free: 139.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004108/1.391, allocations: 2.494 MB / 0.8458 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.193e-06/1.391, allocations: 0 / 0.8458 GB, free: 136.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1375/1.528, allocations: 93.19 MB / 0.9368 GB, free: 43.47 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.74/19.27, allocations: 8.016 kB / 0.9368 GB, free: 43.46 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