Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002229/0.002229, allocations: 212.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") translateModel(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200,variableFilter="time|line1.v1|line1.v2|line1.i1|line1.i2|line2.v1|line2.v2|line2.i1|line2.i2|line3.v1|line3.v2|line3.i1|line3.i2",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 47.92 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2353, allocations: 53.36 MB / 432.4 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines): time 0.004765/0.24, allocations: 3.287 MB / 435.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2416, allocations: 0.8531 MB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001935/0.2418, allocations: 8 kB / 436.5 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.242, allocations: 83.2 kB / 436.6 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003913/0.2424, allocations: 150.6 kB / 436.7 MB, free: 2.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.2428, allocations: 191.8 kB / 436.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000647/0.2435, allocations: 0.6232 MB / 437.6 MB, free: 1.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.2438, allocations: 161.4 kB / 437.7 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.244, allocations: 251.2 kB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003625/0.2444, allocations: 286.8 kB / 438.2 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.804e-05/0.2445, allocations: 56 kB / 438.3 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-05/0.2446, allocations: 60 kB / 438.4 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.2447, allocations: 131.5 kB / 438.5 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002329/0.2449, allocations: 235.1 kB / 438.7 MB, free: 328 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.2456, allocations: 0.6176 MB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2456, allocations: 4 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2456, allocations: 0 / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.2456, allocations: 3.938 kB / 439.3 MB, free: 15.7 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001536/0.2471, allocations: 0.7797 MB / 440.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.2472, allocations: 8.031 kB / 440.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.2473, allocations: 56.61 kB / 440.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004722/0.2478, allocations: 288.7 kB / 440.5 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.2478, allocations: 37.31 kB / 440.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.41e-05/0.2479, allocations: 48.38 kB / 440.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.2489, allocations: 0.765 MB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2489, allocations: 3.938 kB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.267e-05/0.249, allocations: 24 kB / 441.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.249, allocations: 12 kB / 441.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007003/0.2497, allocations: 315.8 kB / 441.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.252, allocations: 1.312 MB / 443 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005262/0.2525, allocations: 196.5 kB / 443.2 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002238/0.2527, allocations: 92.73 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.2528, allocations: 4 kB / 443.3 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.2532, allocations: 324.5 kB / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.533e-06/0.2532, allocations: 0 / 443.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001532/0.2548, allocations: 470.3 kB / 444 MB, free: 10.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001797/0.2549, allocations: 320.4 kB / 444.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003595/0.2553, allocations: 304.1 kB / 444.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.081e-05/0.2553, allocations: 37.7 kB / 444.7 MB, free: 9.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002093/0.2556, allocations: 280.1 kB / 445 MB, free: 9.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.494e-05/0.2556, allocations: 91.22 kB / 445 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001377/0.2558, allocations: 78.02 kB / 445.1 MB, free: 9.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.2559, allocations: 346.8 kB / 445.5 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002617/0.2562, allocations: 118.4 kB / 445.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/0.2568, allocations: 0.5467 MB / 446.1 MB, free: 8.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.2574, allocations: 335.1 kB / 446.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2574, allocations: 3.938 kB / 446.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001234/0.2586, allocations: 0.5549 MB / 447 MB, free: 7.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/0.2586, allocations: 33.7 kB / 447 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2586, allocations: 0 / 447 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006719/0.2593, allocations: 174.3 kB / 447.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.2595, allocations: 55.91 kB / 447.3 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004398/0.2639, allocations: 4.526 MB / 451.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003892/0.2643, allocations: 60.03 kB / 451.8 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.2643, allocations: 27.98 kB / 451.9 MB, free: 2.191 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.2645, allocations: 165.7 kB / 452 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.2646, allocations: 31.81 kB / 452.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.962e-05/0.2647, allocations: 34.98 kB / 452.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2647, allocations: 0 / 452.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2647, allocations: 0 / 452.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.2647, allocations: 39.8 kB / 452.1 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.297e-05/0.2648, allocations: 11.94 kB / 452.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002888/0.2651, allocations: 31.97 kB / 452.2 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.2652, allocations: 51.91 kB / 452.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001041/0.2662, allocations: 416.1 kB / 452.6 MB, free: 1.391 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008623/0.2671, allocations: 0.5275 MB / 453.2 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002195/0.2673, allocations: 87.94 kB / 453.3 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000236/0.2676, allocations: 211 kB / 453.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of Backend: time 4.41e-07/0.2676, allocations: 0 / 453.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.269, allocations: 0.7495 MB / 454.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of SimCode: time 0.001463/0.2704, allocations: 1.207 MB / 455.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01249/0.2829, allocations: 6.855 MB / 462.3 MB, free: 7.715 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.CompareLosslessLines.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.410233677001088] Failed to read output from testmodel.py, exit status != 0: ['time', 'line1.v1', 'line1.v2', 'line1.i1', 'line1.i2', 'line2.v1', 'line2.v2', 'line2.i1', 'line2.i2', 'line3.v1', 'line3.v2', 'line3.i1', 'line3.i2'] 0.2927811030021985 0.30568199700000004 0.057090609 Calling exit ...