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.001293/0.001293, allocations: 112.4 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.001485/0.001485, allocations: 204.1 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.493/1.493, allocations: 230.2 MB / 257.8 MB, free: 8.523 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.228/0.228, allocations: 46.89 MB / 361.1 MB, free: 4.633 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.002396/0.002396, allocations: 84.14 kB / 0.4967 GB, free: 7.84 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3248, allocations: 65.98 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.003967/0.3287, allocations: 2.603 MB / 0.5637 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3299, allocations: 0.6777 MB / 0.5644 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.3301, allocations: 4 kB / 0.5644 GB, free: 1.727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.3302, allocations: 39.58 kB / 0.5644 GB, free: 1.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001452/0.3304, allocations: 71.34 kB / 0.5645 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002706/0.3306, allocations: 83.81 kB / 0.5646 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000331/0.331, allocations: 286.8 kB / 0.5648 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.3311, allocations: 79.17 kB / 0.5649 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.3313, allocations: 123.5 kB / 0.565 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.3315, allocations: 115.5 kB / 0.5651 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.3315, allocations: 24 kB / 0.5652 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.047e-05/0.3316, allocations: 27.98 kB / 0.5652 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.3317, allocations: 51.84 kB / 0.5652 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3318, allocations: 123.4 kB / 0.5654 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003427/0.3321, allocations: 290.8 kB / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.3321, allocations: 0 / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3321, allocations: 0 / 0.5656 GB, free: 444 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.3321, allocations: 4 kB / 0.5656 GB, free: 440 kB / 398.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.0008428/0.333, allocations: 0.5454 MB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.333, allocations: 8.031 kB / 0.5662 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/0.3332, allocations: 36.78 kB / 0.5662 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.3335, allocations: 259.9 kB / 0.5665 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/0.3336, allocations: 16.81 kB / 0.5665 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.207e-05/0.3336, allocations: 20.38 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.334, allocations: 199.5 kB / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.334, allocations: 0 / 0.5667 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.334, allocations: 12 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.334, allocations: 4 kB / 0.5667 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002851/0.3343, allocations: 145.6 kB / 0.5668 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001315/0.3356, allocations: 0.8066 MB / 0.5676 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.3358, allocations: 90.69 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.939e-05/0.3359, allocations: 48.77 kB / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.3359, allocations: 0 / 0.5678 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.3359, allocations: 38.56 kB / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.3359, allocations: 0 / 0.5678 GB, free: 14.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=16): time 0.001801/0.3377, allocations: 0.7178 MB / 0.5685 GB, free: 13.25 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.3378, allocations: 55.41 kB / 0.5686 GB, free: 13.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.338, allocations: 207 kB / 0.5687 GB, free: 12.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.338, allocations: 29.7 kB / 0.5688 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.3382, allocations: 172.1 kB / 0.5689 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.3382, allocations: 59.52 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.3383, allocations: 45.66 kB / 0.569 GB, free: 12.65 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3384, allocations: 334.8 kB / 0.5694 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.3386, allocations: 59.97 kB / 0.5694 GB, free: 12.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.3388, allocations: 101.8 kB / 0.5695 GB, free: 12.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003132/0.3391, allocations: 177 kB / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3391, allocations: 0 / 0.5697 GB, free: 11.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005535/0.3396, allocations: 285 kB / 0.57 GB, free: 11.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3397, allocations: 10.34 kB / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3397, allocations: 0 / 0.57 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002365/0.3399, allocations: 69.66 kB / 0.57 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.3401, allocations: 43.98 kB / 0.5701 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.3427, allocations: 3.014 MB / 0.573 GB, free: 8.234 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.3429, allocations: 4 kB / 0.573 GB, free: 8.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.3429, allocations: 11.98 kB / 0.573 GB, free: 8.219 MB / 414.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.0001587/0.343, allocations: 137.9 kB / 0.5732 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.3431, allocations: 23.89 kB / 0.5732 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.889e-05/0.3431, allocations: 21.88 kB / 0.5732 GB, free: 8.031 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3431, allocations: 3.984 kB / 0.5732 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.3431, allocations: 12 kB / 0.5732 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3431, allocations: 0 / 0.5732 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000353/0.3435, allocations: 293.4 kB / 0.5735 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3435, allocations: 0 / 0.5735 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.389e-05/0.3436, allocations: 12 kB / 0.5735 GB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.3438, allocations: 73.59 kB / 0.5736 GB, free: 7.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.3438, allocations: 8.188 kB / 0.5736 GB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002577/0.3464, allocations: 2.997 MB / 0.5765 GB, free: 4.309 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.3464, allocations: 4.047 kB / 0.5765 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006744/0.3471, allocations: 403.6 kB / 0.5769 GB, free: 3.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.208e-05/0.3471, allocations: 92.97 kB / 0.577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3472, allocations: 0 / 0.577 GB, free: 3.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001876/0.3473, allocations: 24.23 kB / 0.577 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.3474, allocations: 15.97 kB / 0.577 GB, free: 3.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.3474, allocations: 8 kB / 0.577 GB, free: 3.734 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3476, allocations: 152.6 kB / 0.5772 GB, free: 3.586 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3476, allocations: 0 / 0.5772 GB, free: 3.586 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003814/0.348, allocations: 64 kB / 0.5772 GB, free: 3.523 MB / 414.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.0001298/0.3481, allocations: 99.25 kB / 0.5773 GB, free: 3.418 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007421/0.3488, allocations: 409 kB / 0.5777 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3488, allocations: 0 / 0.5777 GB, free: 2.992 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004538/0.3493, allocations: 317.6 kB / 0.578 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3496, allocations: 27.92 kB / 0.5781 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3507, allocations: 0.5121 MB / 0.5786 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003762/0.351, allocations: 0.744 MB / 0.5793 GB, free: 1.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.343e-05/0.3511, allocations: 17.95 kB / 0.5793 GB, free: 1.301 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.3512, allocations: 19.42 kB / 0.5793 GB, free: 1.281 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3512, allocations: 0 / 0.5793 GB, free: 1.281 MB / 414.1 MB Notification: Performance of Templates: time 0.00699/0.3582, allocations: 2.839 MB / 0.5821 GB, free: 14.46 MB / 430.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 -s gbode -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.983341935090721] Failed to read output from testmodel.py, exit status != 0: 0.36657602107152343 0.380820563 0.045607005000000006 Calling exit ...