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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 121.6 kB / 18.5 MB, free: 4.578 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.001407/0.001407, allocations: 205 kB / 21.45 MB, free: 1.629 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.626/1.626, allocations: 230.5 MB / 254.7 MB, free: 15.03 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.2375/0.2375, allocations: 46.92 MB / 357.7 MB, free: 10.21 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.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"}) [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.002391/0.002391, allocations: 79.86 kB / 0.4917 GB, free: 7.883 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.132, allocations: 66.03 MB / 0.5561 GB, free: 5.719 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004986/0.137, allocations: 3.305 MB / 0.5594 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.1389, allocations: 0.8296 MB / 0.5602 GB, free: 1.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003177/0.1392, allocations: 15.88 kB / 0.5602 GB, free: 1.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1395, allocations: 71.25 kB / 0.5603 GB, free: 1.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.1399, allocations: 182.5 kB / 0.5604 GB, free: 1.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1402, allocations: 103.9 kB / 0.5605 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.1409, allocations: 0.5985 MB / 0.5611 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002795/0.1412, allocations: 129.4 kB / 0.5612 GB, free: 464 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003002/0.1415, allocations: 231.2 kB / 0.5615 GB, free: 232 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003232/0.1418, allocations: 239 kB / 0.5617 GB, free: 15.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.581e-05/0.1419, allocations: 47.94 kB / 0.5617 GB, free: 15.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.204e-05/0.1419, allocations: 44 kB / 0.5618 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.196e-05/0.142, allocations: 99.59 kB / 0.5619 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002935/0.1423, allocations: 270.7 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006995/0.143, allocations: 0.5601 MB / 0.5627 GB, free: 14.98 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.143, allocations: 0 / 0.5627 GB, free: 14.98 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.143, allocations: 0 / 0.5627 GB, free: 14.98 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.143, allocations: 7.875 kB / 0.5627 GB, free: 14.97 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.00125/0.1443, allocations: 0.7713 MB / 0.5634 GB, free: 14.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.1443, allocations: 8.031 kB / 0.5634 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001101/0.1445, allocations: 86.7 kB / 0.5635 GB, free: 14.05 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.1446, allocations: 56.61 kB / 0.5636 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000571/0.1451, allocations: 326.5 kB / 0.5639 GB, free: 13.63 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.425e-05/0.1452, allocations: 37.38 kB / 0.5639 GB, free: 13.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.453e-05/0.1453, allocations: 52.33 kB / 0.564 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.146, allocations: 450.7 kB / 0.5644 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/0.146, allocations: 3.953 kB / 0.5644 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.1461, allocations: 23.98 kB / 0.5644 GB, free: 13.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.1461, allocations: 12 kB / 0.5645 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005164/0.1466, allocations: 316.4 kB / 0.5648 GB, free: 12.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.1485, allocations: 1.134 MB / 0.5659 GB, free: 11.55 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007861/0.1492, allocations: 461.9 kB / 0.5663 GB, free: 11.06 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003126/0.1496, allocations: 194.8 kB / 0.5665 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.1496, allocations: 12.47 kB / 0.5665 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/0.1496, allocations: 50.94 kB / 0.5665 GB, free: 10.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 3.516e-06/0.1496, allocations: 0 / 0.5665 GB, free: 10.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.003263/0.1529, allocations: 2.152 MB / 0.5686 GB, free: 8.48 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.153, allocations: 85.67 kB / 0.5687 GB, free: 8.379 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.1533, allocations: 254.9 kB / 0.569 GB, free: 8.121 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.534e-05/0.1533, allocations: 37.7 kB / 0.569 GB, free: 8.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1535, allocations: 213.4 kB / 0.5692 GB, free: 7.867 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00022/0.1537, allocations: 281.6 kB / 0.5695 GB, free: 7.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.1539, allocations: 126.6 kB / 0.5696 GB, free: 7.461 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.1541, allocations: 362.7 kB / 0.5699 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002618/0.1543, allocations: 153.9 kB / 0.5701 GB, free: 6.949 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003739/0.1547, allocations: 276.8 kB / 0.5704 GB, free: 6.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006631/0.1554, allocations: 468.1 kB / 0.5708 GB, free: 6.152 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1554, allocations: 0 / 0.5708 GB, free: 6.152 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009554/0.1563, allocations: 0.5712 MB / 0.5714 GB, free: 5.574 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.1563, allocations: 8 kB / 0.5714 GB, free: 5.566 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.1564, allocations: 7.922 kB / 0.5714 GB, free: 5.559 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.1564, allocations: 11.94 kB / 0.5714 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005985/0.157, allocations: 171.8 kB / 0.5716 GB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/0.157, allocations: 8 kB / 0.5716 GB, free: 5.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.1573, allocations: 27.92 kB / 0.5716 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.764e-05/0.1573, allocations: 28 kB / 0.5716 GB, free: 5.316 MB / 430.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.0002334/0.1576, allocations: 181.7 kB / 0.5718 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001126/0.1577, allocations: 51.72 kB / 0.5718 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001358/0.1578, allocations: 55.64 kB / 0.5719 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.1578, allocations: 8 kB / 0.5719 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.1578, allocations: 0 / 0.5719 GB, free: 5.012 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.1579, allocations: 7.922 kB / 0.5719 GB, free: 5.004 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/0.1604, allocations: 1.444 MB / 0.5733 GB, free: 3.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.1604, allocations: 7.984 kB / 0.5733 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006838/0.1611, allocations: 155.8 kB / 0.5735 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.97e-05/0.1611, allocations: 8 kB / 0.5735 GB, free: 3.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.905e-05/0.1612, allocations: 27.92 kB / 0.5735 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.1612, allocations: 8.062 kB / 0.5735 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.1612, allocations: 4 kB / 0.5735 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.1626, allocations: 0.9122 MB / 0.5744 GB, free: 2.273 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.1628, allocations: 128.8 kB / 0.5745 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.519e-05/0.1629, allocations: 16 kB / 0.5745 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.1632, allocations: 20 kB / 0.5746 GB, free: 2.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/0.1632, allocations: 48.31 kB / 0.5746 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-05/0.1633, allocations: 23.94 kB / 0.5746 GB, free: 2.02 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001965/0.1635, allocations: 182 kB / 0.5748 GB, free: 1.844 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1635, allocations: 0 / 0.5748 GB, free: 1.844 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006019/0.1641, allocations: 144 kB / 0.5749 GB, free: 1.703 MB / 430.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.001499/0.1656, allocations: 1.468 MB / 0.5764 GB, free: 184 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007822/0.1664, allocations: 431.5 kB / 0.5768 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.1664, allocations: 0.5625 kB / 0.5768 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003173/0.1667, allocations: 226.2 kB / 0.577 GB, free: 15.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.1676, allocations: 132.8 kB / 0.5771 GB, free: 15.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/0.1741, allocations: 4.785 MB / 0.5818 GB, free: 10.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.1746, allocations: 0.8447 MB / 0.5826 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002231/0.1748, allocations: 60.64 kB / 0.5827 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/0.1751, allocations: 175.3 kB / 0.5829 GB, free: 9.301 MB / 446.1 MB Notification: Performance of SimCode: time 1.403e-06/0.1751, allocations: 0 / 0.5829 GB, free: 9.301 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3043/0.4793, allocations: 9.993 MB / 0.5926 GB, free: 34.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.422/9.902, allocations: 4.375 kB / 0.5926 GB, free: 34.35 MB / 446.1 MB " [Timeout remaining time 650] (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.000219912 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.180768827907741] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia4.phi', 'inertia4.w', 'inertia5.phi', 'inertia5.w', 'inertia6.phi', 'inertia6.w', 'relativeStates.phi_rel', 'relativeStates.w_rel', 'springDamper1.phi_rel', 'springDamper1.w_rel', 'springDamper2.phi_rel', 'springDamper2.w_rel', 'springDamper3.phi_rel', 'springDamper3.w_rel'] 9.981809733901173 10.010373564 9.862058828 Calling exit ...