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.0009866/0.0009866, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001696/0.001696, allocations: 164.4 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9413/0.9413, allocations: 177 MB / 205.2 MB, free: 5.062 MB / 186.7 MB " [Timeout remaining time 179] 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 1.513e-06/1.513e-06, allocations: 0 / 273.4 MB, free: 1.051 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.809e-05/1.961e-05, allocations: 9.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002833/0.002852, allocations: 2.818 MB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.004048, allocations: 0.8606 MB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.004152, allocations: 4 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.004267, allocations: 35.58 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.004529, allocations: 134.9 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.004828, allocations: 207.5 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.005173, allocations: 0.4941 MB / 278 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.005305, allocations: 75.5 kB / 278 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002877/0.005593, allocations: 287.3 kB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.005796, allocations: 175.5 kB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.005842, allocations: 44 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.635e-05/0.005909, allocations: 48 kB / 278.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.005963, allocations: 95.64 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.956e-05/0.006053, allocations: 131.7 kB / 278.8 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002813/0.006334, allocations: 311 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.006337, allocations: 4 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.006337, allocations: 0 / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.006341, allocations: 0 / 279.1 MB, free: 11.32 MB / 266.7 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.0007434/0.007085, allocations: 0.5932 MB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.007114, allocations: 15.98 kB / 279.7 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.007239, allocations: 52.83 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.007476, allocations: 209.4 kB / 280 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.007542, allocations: 80.45 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.00757, allocations: 24.38 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/0.007818, allocations: 338.3 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.804e-06/0.007826, allocations: 192 / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.007845, allocations: 12.12 kB / 280.4 MB, free: 9.898 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.007855, allocations: 12 kB / 280.4 MB, free: 9.887 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.256e-05/0.007927, allocations: 51.47 kB / 280.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009668/0.008894, allocations: 0.688 MB / 281.2 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001369/0.009031, allocations: 70.53 kB / 281.2 MB, free: 9.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.496e-05/0.009096, allocations: 44.83 kB / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.009108, allocations: 0 / 281.3 MB, free: 8.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.163e-05/0.009129, allocations: 38.56 kB / 281.3 MB, free: 8.934 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.082e-06/0.00913, allocations: 4 kB / 281.3 MB, free: 8.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003464/0.009477, allocations: 175.3 kB / 281.5 MB, free: 8.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.586e-05/0.009533, allocations: 158.2 kB / 281.7 MB, free: 8.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.009679, allocations: 244.9 kB / 281.9 MB, free: 8.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.616e-05/0.009705, allocations: 33.7 kB / 281.9 MB, free: 8.266 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.163e-05/0.009777, allocations: 156.8 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.009802, allocations: 51.56 kB / 282.1 MB, free: 8.059 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.009861, allocations: 49.62 kB / 282.2 MB, free: 8.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.584e-05/0.009937, allocations: 338.8 kB / 282.5 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.009977, allocations: 31.86 kB / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.495e-05/0.01007, allocations: 171.9 kB / 282.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.54e-05/0.01016, allocations: 69.66 kB / 282.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01016, allocations: 4 kB / 282.8 MB, free: 7.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002574/0.01273, allocations: 0.7202 MB / 283.5 MB, free: 6.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01275, allocations: 4 kB / 283.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.01275, allocations: 0 / 283.5 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005126/0.01788, allocations: 1.437 MB / 284.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.118e-05/0.01793, allocations: 15.98 kB / 285 MB, free: 5.148 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003513/0.02144, allocations: 3.458 MB / 288.4 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.981e-05/0.02154, allocations: 23.92 kB / 288.4 MB, free: 1.488 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.02155, allocations: 8.062 kB / 288.4 MB, free: 1.48 MB / 266.7 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 8.095e-05/0.02163, allocations: 121.8 kB / 288.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.02166, allocations: 19.97 kB / 288.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.02168, allocations: 21.78 kB / 288.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.02168, allocations: 0 / 288.6 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.02169, allocations: 4 kB / 288.6 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.02169, allocations: 3.984 kB / 288.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003463/0.02204, allocations: 357 kB / 289 MB, free: 0.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.02204, allocations: 4.062 kB / 289 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.049e-05/0.02209, allocations: 19.98 kB / 289 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001329/0.02222, allocations: 69.61 kB / 289.1 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.02223, allocations: 3.938 kB / 289.1 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1132/0.1354, allocations: 2.478 MB / 291.5 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1354, allocations: 2.344 kB / 291.5 MB, free: 23.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.1356, allocations: 225 kB / 291.8 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.421e-05/0.1357, allocations: 27.09 kB / 291.8 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.1357, allocations: 3.688 kB / 291.8 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.134e-05/0.1358, allocations: 10.94 kB / 291.8 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.1358, allocations: 34.09 kB / 291.8 MB, free: 23.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.1358, allocations: 5.125 kB / 291.8 MB, free: 23.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.622e-05/0.1359, allocations: 87.17 kB / 291.9 MB, free: 23.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1359, allocations: 1.125 kB / 291.9 MB, free: 23.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003553/0.1363, allocations: 100.2 kB / 292 MB, free: 23.11 MB / 266.7 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 7.076e-05/0.1363, allocations: 83 kB / 292.1 MB, free: 23.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005773/0.1369, allocations: 473.1 kB / 292.6 MB, free: 22.8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1369, allocations: 2.719 kB / 292.6 MB, free: 22.8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.1371, allocations: 296.4 kB / 292.9 MB, free: 22.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.1373, allocations: 59.34 kB / 292.9 MB, free: 22.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007245/0.138, allocations: 0.5172 MB / 293.4 MB, free: 22.29 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.212e-05/0.1381, allocations: 88.92 kB / 293.5 MB, free: 22.21 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.117e-05/0.1381, allocations: 24.61 kB / 293.5 MB, free: 22.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1383, allocations: 105.9 kB / 293.6 MB, free: 22.17 MB / 266.7 MB Notification: Performance of SimCode: time 6.72e-07/0.1383, allocations: 0 / 293.6 MB, free: 22.17 MB / 266.7 MB Notification: Performance of Templates: time 0.009368/0.1476, allocations: 8.873 MB / 302.5 MB, free: 19.67 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9863439253531396]