Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001454/0.001454, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001455/0.001455, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2487/0.2487, allocations: 46.92 MB / 357.7 MB, free: 10.2 MB / 286.1 MB " [Timeout remaining time 180] 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.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002353/0.002353, allocations: 87.78 kB / 0.4917 GB, free: 7.727 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1309, allocations: 66.03 MB / 0.5561 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004466/0.1353, allocations: 3.091 MB / 0.5592 GB, free: 2.449 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009212/0.1363, allocations: 406.5 kB / 0.5596 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.1364, allocations: 11.94 kB / 0.5596 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.1366, allocations: 71.31 kB / 0.5596 GB, free: 1.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003316/0.1369, allocations: 170.5 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.1372, allocations: 99.88 kB / 0.5599 GB, free: 1.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005898/0.1378, allocations: 0.5403 MB / 0.5604 GB, free: 1.16 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.138, allocations: 124.8 kB / 0.5605 GB, free: 1.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.1383, allocations: 207.3 kB / 0.5607 GB, free: 0.832 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002783/0.1385, allocations: 211 kB / 0.5609 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.313e-05/0.1386, allocations: 40 kB / 0.561 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.079e-05/0.1387, allocations: 40 kB / 0.561 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.1388, allocations: 99.62 kB / 0.5611 GB, free: 460 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.139, allocations: 254.8 kB / 0.5614 GB, free: 204 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006319/0.1397, allocations: 0.5213 MB / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1397, allocations: 0 / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1397, allocations: 0 / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1397, allocations: 0 / 0.5619 GB, free: 15.68 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001121/0.1408, allocations: 0.7285 MB / 0.5626 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1408, allocations: 12.03 kB / 0.5626 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001055/0.1409, allocations: 86.7 kB / 0.5627 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.488e-05/0.141, allocations: 52.61 kB / 0.5627 GB, free: 14.74 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003402/0.1414, allocations: 295.5 kB / 0.563 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.1414, allocations: 37.38 kB / 0.563 GB, free: 14.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.1415, allocations: 56.33 kB / 0.5631 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.1422, allocations: 454.7 kB / 0.5635 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.1422, allocations: 19.81 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.237e-05/0.1423, allocations: 28 kB / 0.5636 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1423, allocations: 12 kB / 0.5636 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004393/0.1427, allocations: 251.7 kB / 0.5638 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002401/0.1451, allocations: 1.692 MB / 0.5655 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005854/0.1457, allocations: 411.8 kB / 0.5659 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.1459, allocations: 143.7 kB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.1459, allocations: 15.94 kB / 0.566 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.146, allocations: 42.5 kB / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=42): time 2.344e-06/0.146, allocations: 0 / 0.5661 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007955/0.1468, allocations: 362.1 kB / 0.5664 GB, free: 10.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.147, allocations: 265 kB / 0.5667 GB, free: 10.37 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.1473, allocations: 254.8 kB / 0.5669 GB, free: 10.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.1473, allocations: 37.7 kB / 0.5669 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1475, allocations: 248.2 kB / 0.5672 GB, free: 9.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001713/0.1477, allocations: 190.4 kB / 0.5674 GB, free: 9.633 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.1478, allocations: 114.6 kB / 0.5675 GB, free: 9.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.148, allocations: 350.8 kB / 0.5678 GB, free: 9.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.1482, allocations: 121.9 kB / 0.5679 GB, free: 9.043 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/0.1487, allocations: 421.6 kB / 0.5683 GB, free: 8.488 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007412/0.1494, allocations: 0.5655 MB / 0.5689 GB, free: 7.785 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.1494, allocations: 0 / 0.5689 GB, free: 7.785 MB / 430.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009309/0.1503, allocations: 0.5673 MB / 0.5694 GB, free: 7.211 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.1504, allocations: 12 kB / 0.5694 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.1504, allocations: 8 kB / 0.5694 GB, free: 7.191 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.086e-05/0.1504, allocations: 19.94 kB / 0.5695 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005888/0.151, allocations: 184.4 kB / 0.5696 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.232e-05/0.151, allocations: 23.92 kB / 0.5697 GB, free: 6.969 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.1513, allocations: 63.52 kB / 0.5697 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.1514, allocations: 39.98 kB / 0.5698 GB, free: 6.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0002486/0.1516, allocations: 177.6 kB / 0.5699 GB, free: 6.684 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.1518, allocations: 43.77 kB / 0.57 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.1519, allocations: 41.7 kB / 0.57 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.1519, allocations: 11.92 kB / 0.57 GB, free: 6.59 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.1519, allocations: 4 kB / 0.57 GB, free: 6.586 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1519, allocations: 4 kB / 0.57 GB, free: 6.582 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.153, allocations: 421.2 kB / 0.5704 GB, free: 6.121 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.153, allocations: 4 kB / 0.5704 GB, free: 6.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005735/0.1536, allocations: 119.9 kB / 0.5705 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/0.1536, allocations: 4.125 kB / 0.5705 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.1537, allocations: 16 kB / 0.5706 GB, free: 5.98 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.1537, allocations: 11.88 kB / 0.5706 GB, free: 5.969 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.1537, allocations: 7.984 kB / 0.5706 GB, free: 5.961 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.1547, allocations: 1.082 MB / 0.5716 GB, free: 4.852 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001183/0.1548, allocations: 108.9 kB / 0.5717 GB, free: 4.727 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.1549, allocations: 23.94 kB / 0.5718 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.1553, allocations: 11.94 kB / 0.5718 GB, free: 4.691 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.1553, allocations: 27.95 kB / 0.5718 GB, free: 4.664 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-05/0.1554, allocations: 19.94 kB / 0.5718 GB, free: 4.645 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001688/0.1555, allocations: 170 kB / 0.572 GB, free: 4.477 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1555, allocations: 0 / 0.572 GB, free: 4.477 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008734/0.1564, allocations: 139.7 kB / 0.5721 GB, free: 4.34 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.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 (42): * Single equations (assignments): 42 * 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.001387/0.1578, allocations: 1.635 MB / 0.5737 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006558/0.1585, allocations: 337.1 kB / 0.574 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1585, allocations: 0 / 0.574 GB, free: 2.34 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.1586, allocations: 120.2 kB / 0.5742 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.1599, allocations: 108.8 kB / 0.5743 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007165/0.1671, allocations: 5.613 MB / 0.5797 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.1677, allocations: 0.8274 MB / 0.5805 GB, free: 11.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.1679, allocations: 52.16 kB / 0.5806 GB, free: 11.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.1681, allocations: 139.4 kB / 0.5807 GB, free: 11.08 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.1681, allocations: 0 / 0.5807 GB, free: 11.08 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03813/0.2062, allocations: 8.395 MB / 0.5889 GB, free: 2.863 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.037/9.243, allocations: 6.75 kB / 0.5889 GB, free: 2.859 MB / 446.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.566435710992664] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia2.phi', 'inertia2.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w', 'inertia5.phi', 'inertia5.w', 'inertia6.phi', 'inertia6.w', 'inertia7.phi', 'inertia7.w', 'inertia7a.phi', 'inertia7a.w', 'inertia8.phi', 'inertia8.w', 'inertia8a.phi', 'inertia8a.w', 'inertia9.phi', 'inertia9.w', 'inertia9a.phi', 'inertia9a.w'] 9.32106364518404 9.587374049 9.444061203 Calling exit ...