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.00126/0.00126, allocations: 114.5 kB / 21.17 MB, free: 0.6172 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.001508/0.001508, allocations: 206.8 kB / 24.47 MB, free: 4.023 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.572/1.572, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2477/0.2477, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 179] 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.002385/0.002385, allocations: 75.88 kB / 0.4967 GB, free: 8.414 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4654, allocations: 65.97 MB / 0.5612 GB, free: 34.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.004019/0.4694, allocations: 2.601 MB / 0.5637 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.4706, allocations: 0.6771 MB / 0.5644 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001276/0.4707, allocations: 8.281 kB / 0.5644 GB, free: 32.19 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.4709, allocations: 40.39 kB / 0.5644 GB, free: 32.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.471, allocations: 78.34 kB / 0.5645 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003105/0.4713, allocations: 78.66 kB / 0.5646 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.4716, allocations: 295.5 kB / 0.5648 GB, free: 31.92 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.4718, allocations: 68.34 kB / 0.5649 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002135/0.472, allocations: 120.8 kB / 0.565 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.4722, allocations: 116 kB / 0.5651 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.4723, allocations: 24.81 kB / 0.5652 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.4723, allocations: 35.39 kB / 0.5652 GB, free: 31.76 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.4724, allocations: 42.38 kB / 0.5652 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.4725, allocations: 129.1 kB / 0.5653 GB, free: 31.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.4728, allocations: 294.5 kB / 0.5656 GB, free: 31.54 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4728, allocations: 0 / 0.5656 GB, free: 31.54 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.4728, allocations: 0 / 0.5656 GB, free: 31.54 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.4728, allocations: 0 / 0.5656 GB, free: 31.54 MB / 446.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.000789/0.4736, allocations: 0.541 MB / 0.5662 GB, free: 31.06 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.4737, allocations: 9.594 kB / 0.5662 GB, free: 31.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.4738, allocations: 34.77 kB / 0.5662 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003447/0.4742, allocations: 259.5 kB / 0.5664 GB, free: 30.8 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.4742, allocations: 19.72 kB / 0.5665 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.4742, allocations: 17.03 kB / 0.5665 GB, free: 30.79 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.4746, allocations: 197.8 kB / 0.5667 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4746, allocations: 1.625 kB / 0.5667 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.4746, allocations: 11.06 kB / 0.5667 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-06/0.4746, allocations: 6.062 kB / 0.5667 GB, free: 30.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.4749, allocations: 146 kB / 0.5668 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.476, allocations: 0.8025 MB / 0.5676 GB, free: 30.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.4762, allocations: 99.33 kB / 0.5677 GB, free: 30 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.021e-05/0.4763, allocations: 41.75 kB / 0.5677 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4763, allocations: 0 / 0.5677 GB, free: 29.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.4763, allocations: 33.56 kB / 0.5678 GB, free: 29.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.4763, allocations: 7.406 kB / 0.5678 GB, free: 29.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.001605/0.4779, allocations: 0.7148 MB / 0.5685 GB, free: 29.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.4779, allocations: 63.23 kB / 0.5685 GB, free: 29.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000183/0.4781, allocations: 210.2 kB / 0.5687 GB, free: 29.28 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.4781, allocations: 29.7 kB / 0.5688 GB, free: 29.24 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.291e-05/0.4782, allocations: 171.7 kB / 0.5689 GB, free: 29.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.4783, allocations: 58.72 kB / 0.569 GB, free: 29.05 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.559e-05/0.4783, allocations: 44.67 kB / 0.569 GB, free: 29.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.719e-05/0.4784, allocations: 335.3 kB / 0.5694 GB, free: 28.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001344/0.4785, allocations: 61.22 kB / 0.5694 GB, free: 28.67 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001549/0.4787, allocations: 99.61 kB / 0.5695 GB, free: 28.6 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.479, allocations: 176.4 kB / 0.5697 GB, free: 28.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.479, allocations: 0 / 0.5697 GB, free: 28.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004587/0.4794, allocations: 279.9 kB / 0.5699 GB, free: 28.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.4794, allocations: 6.062 kB / 0.5699 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.4794, allocations: 2.906 kB / 0.57 GB, free: 28.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000237/0.4797, allocations: 76.89 kB / 0.57 GB, free: 28.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001621/0.4798, allocations: 30.84 kB / 0.5701 GB, free: 28.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/0.4817, allocations: 3.023 MB / 0.573 GB, free: 25.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.4818, allocations: 9.375 kB / 0.573 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4818, allocations: 10.66 kB / 0.573 GB, free: 25.34 MB / 446.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.0001182/0.4819, allocations: 135.8 kB / 0.5732 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.482, allocations: 21.64 kB / 0.5732 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.757e-05/0.482, allocations: 22.09 kB / 0.5732 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.482, allocations: 1.188 kB / 0.5732 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.482, allocations: 10.56 kB / 0.5732 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.482, allocations: 3.234 kB / 0.5732 GB, free: 25.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.4823, allocations: 289.2 kB / 0.5735 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.4823, allocations: 0 / 0.5735 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.501e-05/0.4824, allocations: 14.88 kB / 0.5735 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/0.4826, allocations: 67.77 kB / 0.5736 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.4826, allocations: 1.094 kB / 0.5736 GB, free: 24.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.4845, allocations: 3.016 MB / 0.5765 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4845, allocations: 4.438 kB / 0.5765 GB, free: 21.95 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007073/0.4852, allocations: 388.2 kB / 0.5769 GB, free: 21.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.4853, allocations: 100.1 kB / 0.577 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.4853, allocations: 1.375 kB / 0.577 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.4855, allocations: 22.34 kB / 0.577 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.4855, allocations: 13.72 kB / 0.577 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.4855, allocations: 8.125 kB / 0.577 GB, free: 21.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.4857, allocations: 147 kB / 0.5772 GB, free: 21.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4857, allocations: 0 / 0.5772 GB, free: 21.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003758/0.4861, allocations: 64.38 kB / 0.5772 GB, free: 21.48 MB / 446.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.0001101/0.4862, allocations: 106.5 kB / 0.5773 GB, free: 21.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006788/0.4868, allocations: 405.7 kB / 0.5777 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.4869, allocations: 3.938 kB / 0.5777 GB, free: 21.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.4872, allocations: 326 kB / 0.578 GB, free: 20.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.4876, allocations: 35.34 kB / 0.5781 GB, free: 20.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.4886, allocations: 0.5053 MB / 0.5786 GB, free: 20.49 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.4888, allocations: 0.7456 MB / 0.5793 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.352e-05/0.4889, allocations: 22.75 kB / 0.5793 GB, free: 19.78 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.049e-05/0.489, allocations: 16.34 kB / 0.5793 GB, free: 19.77 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.489, allocations: 0 / 0.5793 GB, free: 19.77 MB / 446.1 MB Notification: Performance of Templates: time 0.008269/0.4972, allocations: 2.832 MB / 0.5821 GB, free: 19.53 MB / 446.1 MB " [Timeout remaining time 659] 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 -s cvode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9055378353223205] Failed to read output from testmodel.py, exit status != 0: 0.5061191846616566 0.5208446729999999 0.044842621000000006 Calling exit ...