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.001312/0.001312, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001381/0.001381, allocations: 210.4 kB / 18.58 MB, free: 4.535 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.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2179/0.2179, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 78.97 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1094, allocations: 62.44 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Rotor1D): time 0.01867/0.1281, allocations: 15.92 MB / 496 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009894/0.138, allocations: 3.854 MB / 499.9 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.1411, allocations: 91.75 kB / 500 MB, free: 1.23 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007499/0.1487, allocations: 3.099 MB / 0.4913 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.1545, allocations: 1.745 MB / 0.493 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.1561, allocations: 467.2 kB / 0.4934 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006655/0.1628, allocations: 4.001 MB / 0.4974 GB, free: 7.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006147/0.169, allocations: 3.6 MB / 0.5009 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003543/0.1726, allocations: 1.877 MB / 0.5027 GB, free: 2.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2573/0.4299, allocations: 2.993 MB / 0.5056 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002387/0.4323, allocations: 499.9 kB / 0.5061 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.4353, allocations: 0.9425 MB / 0.507 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003434/0.4387, allocations: 2.224 MB / 0.5092 GB, free: 14.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005952/0.4447, allocations: 2.78 MB / 0.5119 GB, free: 14.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.4574, allocations: 8.4 MB / 0.5201 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.4574, allocations: 0 / 0.5201 GB, free: 13.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.4574, allocations: 3.156 kB / 0.5201 GB, free: 13.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003036/0.4578, allocations: 3.188 kB / 0.5201 GB, free: 13.21 MB / 382.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.09598/0.5537, allocations: 11.18 MB / 0.531 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.5538, allocations: 13.44 kB / 0.531 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004673/0.5585, allocations: 0.8144 MB / 0.5318 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009026/0.5675, allocations: 1.858 MB / 0.5337 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007967/0.5755, allocations: 3.279 MB / 0.5369 GB, free: 5.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002141/0.5758, allocations: 291.4 kB / 0.5371 GB, free: 4.922 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/0.5787, allocations: 413.3 kB / 0.5375 GB, free: 4.809 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05886/0.6376, allocations: 19.54 MB / 0.5566 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003263/0.638, allocations: 56.55 kB / 0.5567 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00288/0.6409, allocations: 181.7 kB / 0.5568 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006572/0.6475, allocations: 2.344 MB / 0.5591 GB, free: 1.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05902/0.7065, allocations: 22.39 MB / 0.581 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08837/0.795, allocations: 52.51 MB / 0.6323 GB, free: 5.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.08473/0.8798, allocations: 9.171 MB / 0.6412 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006589/0.8864, allocations: 3.024 MB / 0.6442 GB, free: 9.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002674/0.8891, allocations: 363.9 kB / 0.6445 GB, free: 9.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.773e-05/0.8892, allocations: 55.25 kB / 0.6446 GB, free: 9.043 MB / 494.1 MB Notification: Performance of pre-optimization done (n=212): time 8.767e-06/0.8892, allocations: 0 / 0.6446 GB, free: 9.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=212): time 0.1845/1.074, allocations: 16.09 MB / 0.6603 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/1.074, allocations: 157.2 kB / 0.6605 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009506/1.083, allocations: 4.693 MB / 0.665 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005909/1.084, allocations: 53.7 kB / 0.6651 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003225/1.087, allocations: 3.486 MB / 0.6685 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.00182/1.089, allocations: 0.8372 MB / 0.6693 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004783/1.094, allocations: 1.54 MB / 0.6708 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.094, allocations: 301.1 kB / 0.6711 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005527/1.1, allocations: 3.175 MB / 0.6742 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009216/1.109, allocations: 7.457 MB / 0.6815 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/1.123, allocations: 11.49 MB / 0.6927 GB, free: 4.117 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001863/1.124, allocations: 43.94 kB / 0.6927 GB, free: 4.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=879) (initialization): time 0.02159/1.145, allocations: 10.6 MB / 0.7031 GB, free: 9.906 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/1.145, allocations: 75.98 kB / 0.7032 GB, free: 9.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003375/1.146, allocations: 156.1 kB / 0.7033 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002824/1.146, allocations: 200 kB / 0.7035 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00674/1.153, allocations: 1.797 MB / 0.7053 GB, free: 7.684 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002901/1.153, allocations: 300.4 kB / 0.7056 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007272/1.16, allocations: 0.9278 MB / 0.7065 GB, free: 6.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001752/1.162, allocations: 0.5153 MB / 0.707 GB, free: 5.938 MB / 0.545 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.006002/1.168, allocations: 2.311 MB / 0.7092 GB, free: 3.613 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001668/1.17, allocations: 402.8 kB / 0.7096 GB, free: 3.215 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2219/1.392, allocations: 4.859 MB / 0.7143 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.957e-05/1.392, allocations: 23.94 kB / 0.7144 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.479e-05/1.392, allocations: 1.656 kB / 0.7144 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.061e-05/1.392, allocations: 11.11 kB / 0.7144 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.412, allocations: 11.53 MB / 0.7256 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.306e-05/1.412, allocations: 9.906 kB / 0.7256 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002847/1.415, allocations: 0.597 MB / 0.7262 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-05/1.415, allocations: 14.41 kB / 0.7262 GB, free: 190.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/1.416, allocations: 148.4 kB / 0.7264 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.301e-05/1.416, allocations: 22.33 kB / 0.7264 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/1.416, allocations: 12.12 kB / 0.7264 GB, free: 190 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/1.426, allocations: 8.901 MB / 0.7351 GB, free: 187.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001581/1.428, allocations: 0.5119 MB / 0.7356 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009656/1.429, allocations: 41.41 kB / 0.7357 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002498/1.431, allocations: 90.56 kB / 0.7357 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005114/1.432, allocations: 240.1 kB / 0.736 GB, free: 186.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002539/1.432, allocations: 159.8 kB / 0.7361 GB, free: 186.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005257/1.437, allocations: 2.949 MB / 0.739 GB, free: 185.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/1.437, allocations: 0 / 0.739 GB, free: 185.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007602/1.445, allocations: 1.364 MB / 0.7403 GB, free: 185.4 MB / 0.545 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.009819/1.455, allocations: 9.566 MB / 0.7497 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.467, allocations: 8.844 MB / 0.7583 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/1.467, allocations: 0 / 0.7583 GB, free: 170.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/1.47, allocations: 2.447 MB / 0.7607 GB, free: 168.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0042/1.474, allocations: 0.5642 MB / 0.7612 GB, free: 167.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07188/1.546, allocations: 67.16 MB / 0.8268 GB, free: 91.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003542/1.55, allocations: 3.588 MB / 0.8303 GB, free: 88.27 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005965/1.556, allocations: 2.302 MB / 0.8326 GB, free: 85.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004107/1.56, allocations: 2.498 MB / 0.835 GB, free: 83.46 MB / 0.545 GB Notification: Performance of SimCode: time 1.022e-06/1.56, allocations: 0 / 0.835 GB, free: 83.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3638/1.924, allocations: 97.88 MB / 0.9306 GB, free: 191.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/12.57, allocations: 1.375 kB / 0.9306 GB, free: 191.8 MB / 0.545 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