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.001352/0.001352, allocations: 118.6 kB / 18.5 MB, free: 4.566 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.001465/0.001465, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.512/1.512, allocations: 230.2 MB / 254.5 MB, free: 15.09 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.242/0.242, allocations: 46.89 MB / 357.4 MB, free: 10.5 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.00389/0.00389, allocations: 83.86 kB / 0.4912 GB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1566, allocations: 65.99 MB / 0.5556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.SpringDamper): time 0.004849/0.1615, allocations: 3.288 MB / 0.5589 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1633, allocations: 0.8413 MB / 0.5597 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003085/0.1636, allocations: 11.94 kB / 0.5597 GB, free: 2.273 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.1638, allocations: 71.25 kB / 0.5598 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.1642, allocations: 174.5 kB / 0.5599 GB, free: 2.031 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002937/0.1645, allocations: 111.8 kB / 0.56 GB, free: 1.922 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006529/0.1651, allocations: 0.5985 MB / 0.5606 GB, free: 1.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.1654, allocations: 121.4 kB / 0.5607 GB, free: 1.195 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.1657, allocations: 231.2 kB / 0.561 GB, free: 0.9688 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.166, allocations: 243 kB / 0.5612 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.1661, allocations: 40 kB / 0.5612 GB, free: 0.6914 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.001e-05/0.1661, allocations: 51.94 kB / 0.5613 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.613e-05/0.1662, allocations: 95.67 kB / 0.5614 GB, free: 0.5469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.1665, allocations: 266.7 kB / 0.5616 GB, free: 292 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006536/0.1671, allocations: 0.564 MB / 0.5622 GB, free: 15.72 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1671, allocations: 4 kB / 0.5622 GB, free: 15.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1671, allocations: 0 / 0.5622 GB, free: 15.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1672, allocations: 0 / 0.5622 GB, free: 15.71 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.001187/0.1683, allocations: 0.7735 MB / 0.5629 GB, free: 14.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.1684, allocations: 8.031 kB / 0.5629 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.1685, allocations: 90.7 kB / 0.563 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.1686, allocations: 60.55 kB / 0.5631 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.1691, allocations: 326.5 kB / 0.5634 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.1691, allocations: 33.38 kB / 0.5634 GB, free: 14.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.1692, allocations: 56.33 kB / 0.5635 GB, free: 14.28 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007205/0.1699, allocations: 438.7 kB / 0.5639 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/0.17, allocations: 15.89 kB / 0.5639 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.17, allocations: 16 kB / 0.5639 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.17, allocations: 12 kB / 0.5639 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005188/0.1705, allocations: 316.5 kB / 0.5642 GB, free: 13.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.1724, allocations: 1.146 MB / 0.5654 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007642/0.1731, allocations: 461.9 kB / 0.5658 GB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.1734, allocations: 194.9 kB / 0.566 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.1735, allocations: 4.438 kB / 0.566 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.1735, allocations: 50.97 kB / 0.566 GB, free: 11.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=62): time 2.455e-06/0.1735, allocations: 0 / 0.566 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=74): time 0.003217/0.1767, allocations: 2.15 MB / 0.5681 GB, free: 9.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.09e-05/0.1768, allocations: 85.67 kB / 0.5682 GB, free: 9.117 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.1771, allocations: 259 kB / 0.5685 GB, free: 8.855 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.262e-05/0.1771, allocations: 33.7 kB / 0.5685 GB, free: 8.816 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.1773, allocations: 209.4 kB / 0.5687 GB, free: 8.609 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002197/0.1775, allocations: 289.5 kB / 0.569 GB, free: 8.324 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.1776, allocations: 118.6 kB / 0.5691 GB, free: 8.203 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.1778, allocations: 362.7 kB / 0.5694 GB, free: 7.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002723/0.1781, allocations: 157.9 kB / 0.5696 GB, free: 7.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003617/0.1784, allocations: 276.8 kB / 0.5698 GB, free: 7.383 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.1791, allocations: 478.8 kB / 0.5703 GB, free: 6.879 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1791, allocations: 0 / 0.5703 GB, free: 6.879 MB / 430.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0008844/0.18, allocations: 0.5632 MB / 0.5709 GB, free: 6.309 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/0.18, allocations: 4 kB / 0.5709 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.18, allocations: 8.266 kB / 0.5709 GB, free: 6.297 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.1801, allocations: 12.05 kB / 0.5709 GB, free: 6.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.1807, allocations: 179.8 kB / 0.571 GB, free: 6.109 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.255e-05/0.1807, allocations: 11.92 kB / 0.5711 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.1809, allocations: 27.94 kB / 0.5711 GB, free: 6.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.181, allocations: 24 kB / 0.5711 GB, free: 6.047 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.000216/0.1812, allocations: 177.7 kB / 0.5713 GB, free: 5.863 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.932e-05/0.1813, allocations: 51.72 kB / 0.5713 GB, free: 5.812 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.1814, allocations: 59.64 kB / 0.5714 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.1814, allocations: 8 kB / 0.5714 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.1814, allocations: 0 / 0.5714 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.1814, allocations: 7.922 kB / 0.5714 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.1835, allocations: 1.437 MB / 0.5728 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/0.1836, allocations: 4.344 kB / 0.5728 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000631/0.1842, allocations: 159.8 kB / 0.573 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.1842, allocations: 7.984 kB / 0.573 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.1842, allocations: 19.94 kB / 0.573 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.045e-05/0.1842, allocations: 12.06 kB / 0.573 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.1843, allocations: 4 kB / 0.573 GB, free: 3.98 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.1854, allocations: 0.9192 MB / 0.5739 GB, free: 3.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.1856, allocations: 124.8 kB / 0.574 GB, free: 2.875 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.1856, allocations: 20 kB / 0.574 GB, free: 2.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002771/0.1859, allocations: 15.98 kB / 0.5741 GB, free: 2.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.949e-05/0.186, allocations: 48.33 kB / 0.5741 GB, free: 2.789 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-05/0.186, allocations: 27.92 kB / 0.5741 GB, free: 2.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00018/0.1862, allocations: 182 kB / 0.5743 GB, free: 2.586 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1862, allocations: 0 / 0.5743 GB, free: 2.586 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000567/0.1868, allocations: 144 kB / 0.5744 GB, free: 2.445 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.001504/0.1883, allocations: 1.464 MB / 0.5759 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.189, allocations: 439.5 kB / 0.5763 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.189, allocations: 0 / 0.5763 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003276/0.1894, allocations: 231.4 kB / 0.5765 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.1902, allocations: 126.6 kB / 0.5766 GB, free: 148 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006747/0.197, allocations: 4.781 MB / 0.5813 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.1975, allocations: 0.8524 MB / 0.5821 GB, free: 10.27 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.1977, allocations: 60.64 kB / 0.5822 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002483/0.198, allocations: 159.4 kB / 0.5823 GB, free: 10.05 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/0.198, allocations: 0 / 0.5823 GB, free: 10.05 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04016/0.2381, allocations: 10.01 MB / 0.5921 GB, free: 244 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.96/9.198, allocations: 18.59 kB / 0.5921 GB, free: 232 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.InitializationConversion.SpringDamper_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_InitializationConversion_SpringDamper_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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: 12.411780504044145] 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.518690987024456 9.534152441 9.363332908 Calling exit ...