Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.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.001633/0.001633, allocations: 109.1 kB / 21.18 MB, free: 0.7617 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.002017/0.002017, allocations: 213.1 kB / 24.5 MB, free: 4.148 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.559/1.559, allocations: 230.5 MB / 258.1 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|source.i|load.v|load.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 379.1 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2428/0.2448, allocations: 53.41 MB / 432.5 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004533/0.2493, allocations: 2.867 MB / 435.3 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2511, allocations: 0.8803 MB / 436.2 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001647/0.2513, allocations: 4 kB / 436.2 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2515, allocations: 43.58 kB / 436.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.2518, allocations: 127.1 kB / 436.4 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.2522, allocations: 199.6 kB / 436.6 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005387/0.2528, allocations: 482.3 kB / 437 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.253, allocations: 89.91 kB / 437.1 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.2533, allocations: 203.3 kB / 437.3 MB, free: 1.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003576/0.2537, allocations: 219.2 kB / 437.5 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.742e-05/0.2537, allocations: 44 kB / 437.6 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/0.2538, allocations: 44 kB / 437.6 MB, free: 1.562 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.254, allocations: 95.67 kB / 437.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001914/0.2541, allocations: 183.2 kB / 437.9 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005632/0.2547, allocations: 459.7 kB / 438.4 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.2547, allocations: 3.938 kB / 438.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2547, allocations: 0 / 438.4 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2547, allocations: 0 / 438.4 MB, free: 0.8398 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001615/0.2563, allocations: 0.6219 MB / 439 MB, free: 192 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.2564, allocations: 8.031 kB / 439 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002051/0.2566, allocations: 48.69 kB / 439 MB, free: 136 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005325/0.2571, allocations: 241.5 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.2572, allocations: 76.39 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.2573, allocations: 20.38 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005228/0.2578, allocations: 288.5 kB / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.2578, allocations: 0 / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.077e-05/0.2578, allocations: 8 kB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2578, allocations: 11.94 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003735/0.2582, allocations: 161.6 kB / 439.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.2607, allocations: 1.006 MB / 440.8 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.261, allocations: 114.5 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.2612, allocations: 72.77 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.2613, allocations: 4 kB / 441 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.2613, allocations: 34.55 kB / 441.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.2613, allocations: 0 / 441.1 MB, free: 13.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009815/0.2623, allocations: 295.3 kB / 441.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.2624, allocations: 158.2 kB / 441.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000332/0.2627, allocations: 277.8 kB / 441.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.2628, allocations: 25.7 kB / 441.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.2629, allocations: 184.3 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.895e-05/0.263, allocations: 55.53 kB / 442 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.2631, allocations: 45.69 kB / 442.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.2632, allocations: 334.8 kB / 442.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.2634, allocations: 87.95 kB / 442.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002329/0.2636, allocations: 132.7 kB / 442.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.264, allocations: 164.4 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.264, allocations: 4 kB / 442.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008464/0.2725, allocations: 0.8809 MB / 443.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.2725, allocations: 7.938 kB / 443.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.2725, allocations: 4 kB / 443.7 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.2826, allocations: 0.8287 MB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.2828, allocations: 23.98 kB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00999/0.2928, allocations: 4.699 MB / 449.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003366/0.2931, allocations: 31.86 kB / 449.3 MB, free: 5.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.2931, allocations: 11.98 kB / 449.3 MB, free: 5.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001901/0.2933, allocations: 133.8 kB / 449.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.423e-05/0.2934, allocations: 27.92 kB / 449.4 MB, free: 5.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.608e-05/0.2935, allocations: 25.77 kB / 449.4 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.2935, allocations: 4 kB / 449.5 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2935, allocations: 3.938 kB / 449.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2935, allocations: 0 / 449.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009852/0.2945, allocations: 0.5896 MB / 450 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2945, allocations: 0 / 450 MB, free: 4.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.2946, allocations: 23.92 kB / 450.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.2948, allocations: 49.67 kB / 450.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.2948, allocations: 4 kB / 450.1 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.2971, allocations: 2.74 MB / 452.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2971, allocations: 0 / 452.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000573/0.2976, allocations: 309.8 kB / 453.2 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.2977, allocations: 23.84 kB / 453.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.2977, allocations: 8.125 kB / 453.2 MB, free: 1.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.2979, allocations: 15.98 kB / 453.2 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.298, allocations: 15.91 kB / 453.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.298, allocations: 8 kB / 453.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002223/0.2982, allocations: 197.2 kB / 453.4 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2982, allocations: 4 kB / 453.4 MB, free: 0.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000578/0.2988, allocations: 99.78 kB / 453.5 MB, free: 0.8203 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (11): * Single equations (assignments): 9 * 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,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000147/0.299, allocations: 103.2 kB / 453.6 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001575/0.3005, allocations: 0.5245 MB / 454.2 MB, free: 164 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3005, allocations: 4.062 kB / 454.2 MB, free: 160 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000471/0.301, allocations: 320.8 kB / 454.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.3015, allocations: 50.95 kB / 454.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.3026, allocations: 0.555 MB / 455.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.303, allocations: 0.7635 MB / 455.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.303, allocations: 23.42 kB / 455.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.303, allocations: 7.938 kB / 455.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Templates: time 0.009437/0.3125, allocations: 6.221 MB / 462.1 MB, free: 8.148 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 8.227436722954735] Failed to read output from testmodel.py, exit status != 0: ['time', 'source.i', 'load.v', 'load.i'] 0.3213481209240854 0.33723881899999997 0.07925981400000001 Calling exit ...