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.001272/0.001272, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.00145/0.00145, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.455/1.455, allocations: 230.2 MB / 255.2 MB, free: 15.4 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="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") translateModel(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=25000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 67.89 kB / 374.5 MB, free: 9.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 53.32 MB / 427.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004744/0.1071, allocations: 2.856 MB / 430.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1088, allocations: 0.8687 MB / 431.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1089, allocations: 4 kB / 431.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001455/0.1091, allocations: 43.56 kB / 431.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000319/0.1094, allocations: 131 kB / 431.8 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004347/0.1098, allocations: 199.6 kB / 432 MB, free: 376 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005251/0.1103, allocations: 482.3 kB / 432.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.1105, allocations: 85.19 kB / 432.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.1108, allocations: 199.3 kB / 432.7 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.1112, allocations: 211.2 kB / 432.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.1113, allocations: 44 kB / 433 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1114, allocations: 48 kB / 433 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1115, allocations: 99.66 kB / 433.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.1117, allocations: 183.2 kB / 433.3 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000554/0.1122, allocations: 450.3 kB / 433.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.1122, allocations: 0 / 433.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1122, allocations: 0 / 433.7 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.1122, allocations: 0 / 433.7 MB, free: 14.59 MB / 366.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.001581/0.1138, allocations: 0.7088 MB / 434.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1139, allocations: 8.031 kB / 434.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.1141, allocations: 48.69 kB / 434.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.1146, allocations: 303.7 kB / 434.8 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.559e-05/0.1147, allocations: 50.69 kB / 434.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.1147, allocations: 24.38 kB / 434.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.1152, allocations: 284.5 kB / 435.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1152, allocations: 0 / 435.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.34e-05/0.1153, allocations: 12 kB / 435.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1153, allocations: 4 kB / 435.1 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.1157, allocations: 161.7 kB / 435.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002354/0.118, allocations: 1.048 MB / 436.4 MB, free: 11.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.1183, allocations: 106.5 kB / 436.5 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.1185, allocations: 81 kB / 436.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/0.1186, allocations: 0 / 436.5 MB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.1186, allocations: 38.56 kB / 436.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.1186, allocations: 0 / 436.6 MB, free: 11.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.00105/0.1197, allocations: 435.8 kB / 437 MB, free: 11.06 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.1198, allocations: 158.2 kB / 437.2 MB, free: 10.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.1201, allocations: 274.6 kB / 437.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.1202, allocations: 33.64 kB / 437.5 MB, free: 10.55 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001586/0.1203, allocations: 184.3 kB / 437.6 MB, free: 10.36 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.1204, allocations: 51.59 kB / 437.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1205, allocations: 45.69 kB / 437.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1206, allocations: 330.8 kB / 438.1 MB, free: 9.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00021/0.1208, allocations: 87.95 kB / 438.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002346/0.1211, allocations: 133.1 kB / 438.3 MB, free: 9.695 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.1214, allocations: 168.1 kB / 438.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1214, allocations: 0 / 438.4 MB, free: 9.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007564/0.129, allocations: 0.8887 MB / 439.3 MB, free: 8.625 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.129, allocations: 14.28 kB / 439.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.129, allocations: 0 / 439.3 MB, free: 8.613 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009088/0.1381, allocations: 0.8287 MB / 440.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1383, allocations: 23.98 kB / 440.2 MB, free: 7.754 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009728/0.148, allocations: 4.893 MB / 445.1 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.1483, allocations: 27.88 kB / 445.1 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.247e-05/0.1483, allocations: 7.984 kB / 445.1 MB, free: 2.539 MB / 366.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.000194/0.1485, allocations: 141.9 kB / 445.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.1486, allocations: 23.86 kB / 445.3 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.694e-05/0.1486, allocations: 25.83 kB / 445.3 MB, free: 2.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1486, allocations: 4 kB / 445.3 MB, free: 2.336 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1486, allocations: 4.062 kB / 445.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1486, allocations: 0 / 445.3 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009804/0.1496, allocations: 0.6139 MB / 445.9 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.1496, allocations: 4 kB / 445.9 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.1497, allocations: 31.94 kB / 446 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001814/0.1499, allocations: 45.69 kB / 446 MB, free: 1.566 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.15, allocations: 8 kB / 446 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1909/0.3409, allocations: 2.923 MB / 448.9 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.3409, allocations: 1.906 kB / 448.9 MB, free: 23.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.3415, allocations: 312.8 kB / 449.2 MB, free: 22.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.158e-05/0.3415, allocations: 103 kB / 449.3 MB, free: 22.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.3416, allocations: 4.281 kB / 449.3 MB, free: 22.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.3418, allocations: 15.05 kB / 449.4 MB, free: 22.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.46e-05/0.3418, allocations: 17.5 kB / 449.4 MB, free: 22.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.3419, allocations: 5.797 kB / 449.4 MB, free: 22.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002002/0.3421, allocations: 201.5 kB / 449.6 MB, free: 22.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 449.6 MB, free: 22.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000557/0.3426, allocations: 103.8 kB / 449.7 MB, free: 22.7 MB / 366.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.0001119/0.3427, allocations: 104.7 kB / 449.8 MB, free: 22.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.3441, allocations: 0.5394 MB / 450.3 MB, free: 22.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3441, allocations: 0.8125 kB / 450.3 MB, free: 22.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.3445, allocations: 314.5 kB / 450.6 MB, free: 22.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/0.3449, allocations: 52.17 kB / 450.7 MB, free: 22.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/0.3457, allocations: 0.5481 MB / 451.2 MB, free: 21.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.3458, allocations: 0.7574 MB / 452 MB, free: 21.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.3459, allocations: 27.17 kB / 452 MB, free: 21.16 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3459, allocations: 2.844 kB / 452 MB, free: 21.16 MB / 366.1 MB Notification: Performance of Templates: time 0.009558/0.3555, allocations: 6.241 MB / 458.3 MB, free: 20.83 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 -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.721129779005423] Failed to read output from testmodel.py, exit status != 0: 0.3634510990232229 0.37352265900000003 0.258939962 Calling exit ...