Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.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.001934/0.001934, allocations: 112.8 kB / 19.17 MB, free: 3.871 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.002346/0.002346, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.477/1.477, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.2365/0.2365, allocations: 46.88 MB / 358.1 MB, free: 10.54 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: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer") [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.002463/0.002463, allocations: 79.86 kB / 0.4923 GB, free: 8.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1444, allocations: 65.98 MB / 0.5568 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004656/0.149, allocations: 2.594 MB / 0.5593 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.1507, allocations: 0.67 MB / 0.56 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.1509, allocations: 4 kB / 0.56 GB, free: 2.684 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.1512, allocations: 43.58 kB / 0.56 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1514, allocations: 75.33 kB / 0.5601 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.1518, allocations: 83.77 kB / 0.5601 GB, free: 2.484 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003795/0.1521, allocations: 290.8 kB / 0.5604 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.1523, allocations: 76.36 kB / 0.5605 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.1526, allocations: 115.6 kB / 0.5606 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001856/0.1527, allocations: 115.5 kB / 0.5607 GB, free: 1.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.79e-05/0.1528, allocations: 24 kB / 0.5607 GB, free: 1.871 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.631e-05/0.1529, allocations: 24 kB / 0.5608 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.1529, allocations: 59.77 kB / 0.5608 GB, free: 1.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.1531, allocations: 131.4 kB / 0.5609 GB, free: 1.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004036/0.1535, allocations: 286.8 kB / 0.5612 GB, free: 1.379 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1535, allocations: 0 / 0.5612 GB, free: 1.379 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1535, allocations: 0 / 0.5612 GB, free: 1.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1535, allocations: 0 / 0.5612 GB, free: 1.379 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0009212/0.1544, allocations: 0.5416 MB / 0.5617 GB, free: 0.7852 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.1545, allocations: 12.03 kB / 0.5618 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.1546, allocations: 36.78 kB / 0.5618 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004305/0.1551, allocations: 259.9 kB / 0.562 GB, free: 456 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1551, allocations: 12.81 kB / 0.5621 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.1551, allocations: 20.38 kB / 0.5621 GB, free: 424 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003903/0.1555, allocations: 199.5 kB / 0.5623 GB, free: 216 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.1555, allocations: 3.938 kB / 0.5623 GB, free: 212 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1555, allocations: 4 kB / 0.5623 GB, free: 208 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.1556, allocations: 12 kB / 0.5623 GB, free: 196 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.1558, allocations: 141.7 kB / 0.5624 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.1572, allocations: 0.8027 MB / 0.5632 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.1574, allocations: 94.42 kB / 0.5633 GB, free: 15.07 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.1575, allocations: 48.83 kB / 0.5633 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.1575, allocations: 0 / 0.5633 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1575, allocations: 34.56 kB / 0.5634 GB, free: 14.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.1575, allocations: 4 kB / 0.5634 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.001823/0.1593, allocations: 0.7199 MB / 0.5641 GB, free: 14.2 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.1594, allocations: 51.59 kB / 0.5641 GB, free: 14.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.1596, allocations: 211 kB / 0.5643 GB, free: 13.92 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.1596, allocations: 33.64 kB / 0.5644 GB, free: 13.88 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.1598, allocations: 172.1 kB / 0.5645 GB, free: 13.71 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.233e-05/0.1598, allocations: 67.44 kB / 0.5646 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.955e-05/0.1599, allocations: 41.66 kB / 0.5646 GB, free: 13.59 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.16, allocations: 330.8 kB / 0.5649 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.1602, allocations: 59.97 kB / 0.565 GB, free: 13.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.1604, allocations: 109.1 kB / 0.5651 GB, free: 13.08 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003018/0.1607, allocations: 171.6 kB / 0.5653 GB, free: 12.89 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1607, allocations: 4 kB / 0.5653 GB, free: 12.89 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005418/0.1612, allocations: 278.9 kB / 0.5655 GB, free: 12.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.1612, allocations: 4 kB / 0.5655 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.1612, allocations: 4 kB / 0.5655 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/0.1615, allocations: 69.83 kB / 0.5656 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.1617, allocations: 35.92 kB / 0.5656 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002978/0.1646, allocations: 3.026 MB / 0.5686 GB, free: 9.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001587/0.1648, allocations: 8 kB / 0.5686 GB, free: 9.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.1648, allocations: 4 kB / 0.5686 GB, free: 9.168 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002101/0.165, allocations: 156.2 kB / 0.5688 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.1651, allocations: 15.91 kB / 0.5688 GB, free: 8.992 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.584e-05/0.1651, allocations: 21.88 kB / 0.5688 GB, free: 8.969 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1651, allocations: 4 kB / 0.5688 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.1651, allocations: 0 / 0.5688 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1651, allocations: 7.922 kB / 0.5688 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003942/0.1655, allocations: 289.4 kB / 0.5691 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1655, allocations: 0 / 0.5691 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.226e-05/0.1656, allocations: 15.98 kB / 0.5691 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002083/0.1658, allocations: 73.67 kB / 0.5692 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1659, allocations: 3.984 kB / 0.5692 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002701/0.1686, allocations: 3.013 MB / 0.5721 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1686, allocations: 0 / 0.5721 GB, free: 5.238 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006731/0.1692, allocations: 390.2 kB / 0.5725 GB, free: 4.836 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.328e-05/0.1693, allocations: 96.98 kB / 0.5726 GB, free: 4.723 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.1693, allocations: 8 kB / 0.5726 GB, free: 4.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1695, allocations: 11.98 kB / 0.5726 GB, free: 4.703 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.1696, allocations: 19.92 kB / 0.5726 GB, free: 4.684 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.1696, allocations: 7.984 kB / 0.5726 GB, free: 4.676 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1698, allocations: 152.7 kB / 0.5728 GB, free: 4.527 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1698, allocations: 4 kB / 0.5728 GB, free: 4.523 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003881/0.1702, allocations: 64 kB / 0.5728 GB, free: 4.461 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001335/0.1703, allocations: 99.25 kB / 0.5729 GB, free: 4.352 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000719/0.171, allocations: 399.3 kB / 0.5733 GB, free: 3.938 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.171, allocations: 4 kB / 0.5733 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004626/0.1715, allocations: 321.2 kB / 0.5736 GB, free: 3.594 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.1718, allocations: 30.59 kB / 0.5737 GB, free: 3.566 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1729, allocations: 0.5444 MB / 0.5742 GB, free: 2.992 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000393/0.1733, allocations: 0.744 MB / 0.5749 GB, free: 2.223 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.1734, allocations: 19.44 kB / 0.5749 GB, free: 2.203 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1734, allocations: 0 / 0.5749 GB, free: 2.203 MB / 430.1 MB Notification: Performance of Templates: time 0.007343/0.1807, allocations: 4.601 MB / 0.5794 GB, free: 13.61 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.391882800031453] Failed to read output from testmodel.py, exit status != 0: 0.18837139499373734 0.201478119 0.045095376 Calling exit ...