Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.SpringDamper,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001611/0.001611, allocations: 106 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002032/0.002032, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.8 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2354/0.2354, allocations: 46.11 MB / 344.2 MB, free: 11.56 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002253/0.002254, allocations: 82.16 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1392, allocations: 62.44 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.007632/0.1468, allocations: 3.299 MB / 483.5 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002717/0.1496, allocations: 0.8298 MB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003695/0.15, allocations: 8 kB / 484.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.1504, allocations: 79.17 kB / 484.4 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006204/0.151, allocations: 170.5 kB / 484.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.1515, allocations: 107.9 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009879/0.1525, allocations: 0.5871 MB / 485.3 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.153, allocations: 189.2 kB / 485.5 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003729/0.1534, allocations: 207.3 kB / 485.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000423/0.1539, allocations: 242.9 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.949e-05/0.154, allocations: 43.98 kB / 485.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001387/0.1541, allocations: 51.94 kB / 486 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1543, allocations: 99.62 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.1547, allocations: 266.7 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008436/0.1556, allocations: 0.5411 MB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1556, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1556, allocations: 4 kB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.1556, allocations: 0 / 486.9 MB, free: 14.41 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001757/0.1574, allocations: 0.7562 MB / 487.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/0.1575, allocations: 12.03 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001465/0.1576, allocations: 94.64 kB / 487.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001393/0.1578, allocations: 52.38 kB / 487.8 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000578/0.1584, allocations: 314.5 kB / 488.1 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.337e-05/0.1584, allocations: 41.31 kB / 488.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/0.1586, allocations: 52.28 kB / 488.2 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.1598, allocations: 434.7 kB / 488.6 MB, free: 12.56 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.973e-05/0.1599, allocations: 15.81 kB / 488.6 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.773e-05/0.1599, allocations: 16 kB / 488.7 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.251e-05/0.16, allocations: 12 kB / 488.7 MB, free: 12.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009432/0.1609, allocations: 320.5 kB / 489 MB, free: 12.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.1638, allocations: 1.15 MB / 490.1 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.1651, allocations: 492.9 kB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.1657, allocations: 207 kB / 490.8 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.1658, allocations: 16.36 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/0.1658, allocations: 42.88 kB / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 5.06e-06/0.1658, allocations: 0 / 490.9 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.005462/0.1713, allocations: 2.127 MB / 493 MB, free: 7.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.1714, allocations: 85.67 kB / 493.1 MB, free: 7.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/0.1719, allocations: 262.9 kB / 493.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/0.172, allocations: 37.7 kB / 493.4 MB, free: 7.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.1722, allocations: 209 kB / 493.6 MB, free: 7.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.1726, allocations: 264.1 kB / 493.8 MB, free: 7.027 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002576/0.1729, allocations: 118.7 kB / 494 MB, free: 6.906 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002605/0.1732, allocations: 358.7 kB / 494.3 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.1737, allocations: 161.9 kB / 494.5 MB, free: 6.391 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006587/0.1744, allocations: 276.8 kB / 494.7 MB, free: 6.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/0.1755, allocations: 474.8 kB / 495.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.1755, allocations: 0 / 495.2 MB, free: 5.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001668/0.1772, allocations: 0.5603 MB / 495.8 MB, free: 5.016 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.1773, allocations: 4 kB / 495.8 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.1773, allocations: 4 kB / 495.8 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.1774, allocations: 8 kB / 495.8 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.1785, allocations: 176 kB / 495.9 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.1786, allocations: 15.92 kB / 496 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.1791, allocations: 36 kB / 496 MB, free: 4.777 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.958e-05/0.1792, allocations: 24 kB / 496 MB, free: 4.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 97 * Array equations: 0 * 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.0003147/0.1795, allocations: 181.6 kB / 496.2 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.1797, allocations: 47.56 kB / 496.2 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001568/0.1799, allocations: 55.64 kB / 496.3 MB, free: 4.465 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.1799, allocations: 4 kB / 496.3 MB, free: 4.461 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.1799, allocations: 8 kB / 496.3 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.1799, allocations: 7.922 kB / 496.3 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003424/0.1834, allocations: 1.446 MB / 497.8 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.1834, allocations: 7.938 kB / 497.8 MB, free: 2.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.1846, allocations: 159.8 kB / 497.9 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.962e-05/0.1846, allocations: 7.984 kB / 497.9 MB, free: 2.719 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.1847, allocations: 23.88 kB / 498 MB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.692e-05/0.1847, allocations: 4 kB / 498 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/0.1848, allocations: 8.281 kB / 498 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.1868, allocations: 0.9145 MB / 498.9 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.187, allocations: 120.5 kB / 499 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.1871, allocations: 20 kB / 499 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000575/0.1877, allocations: 19.98 kB / 499 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1879, allocations: 52.33 kB / 499.1 MB, free: 1.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.454e-05/0.188, allocations: 27.92 kB / 499.1 MB, free: 1.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003249/0.1883, allocations: 170 kB / 499.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.71e-07/0.1883, allocations: 0 / 499.3 MB, free: 1.301 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001022/0.1894, allocations: 148 kB / 499.4 MB, free: 1.156 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 14 (inertia6.phi,inertia6.w,relativeStates.phi_rel,relativeStates.w_rel,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,springDamper1.phi_rel,springDamper1.w_rel,springDamper2.phi_rel,springDamper2.w_rel,springDamper3.phi_rel,springDamper3.w_rel) * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * 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.002516/0.1919, allocations: 1.464 MB / 0.4892 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.1936, allocations: 488.1 kB / 0.4896 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.81e-06/0.1937, allocations: 0 / 0.4896 GB, free: 15.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.1943, allocations: 234.2 kB / 0.4898 GB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.1959, allocations: 145.9 kB / 0.49 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008299/0.2042, allocations: 4.806 MB / 0.4947 GB, free: 9.762 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005784/0.2049, allocations: 0.8484 MB / 0.4955 GB, free: 8.883 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.2051, allocations: 60.64 kB / 0.4956 GB, free: 8.824 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.2054, allocations: 167.4 kB / 0.4957 GB, free: 8.66 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2054, allocations: 0 / 0.4957 GB, free: 8.66 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2654/0.4708, allocations: 9.682 MB / 0.5052 GB, free: 41.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.115/8.586, allocations: 6.75 kB / 0.5052 GB, free: 41.34 MB / 382.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_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_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1)