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.0009298/0.0009298, 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.001073/0.001073, allocations: 158.7 kB / 24.91 MB, free: 8.719 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.9903/0.9903, allocations: 177 MB / 205.2 MB, free: 5.023 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.723e-06/1.723e-06, allocations: 0 / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.252e-05, allocations: 5.266 kB / 273.5 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003815/0.003838, allocations: 2.862 MB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.005489, allocations: 0.8568 MB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.005636, allocations: 7.938 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.005779, allocations: 47.5 kB / 277.2 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.006094, allocations: 131 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003766/0.00647, allocations: 203.5 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.006912, allocations: 0.4902 MB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.007074, allocations: 83.48 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004271/0.007501, allocations: 275.3 kB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000263/0.007764, allocations: 175.5 kB / 278.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.375e-05/0.007818, allocations: 40 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.007909, allocations: 52 kB / 278.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.784e-05/0.007977, allocations: 95.64 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.008089, allocations: 135.7 kB / 278.9 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.008445, allocations: 315 kB / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.008448, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.008449, allocations: 0 / 279.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.008455, allocations: 0 / 279.2 MB, free: 11.21 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.0008979/0.009353, allocations: 0.5932 MB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.009387, allocations: 15.98 kB / 279.8 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.009538, allocations: 56.89 kB / 279.9 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.009823, allocations: 213.4 kB / 280.1 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.871e-05/0.009892, allocations: 72.47 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.009924, allocations: 28.31 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000295/0.01022, allocations: 338.4 kB / 280.5 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.01023, allocations: 4.125 kB / 280.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.078e-05/0.01025, allocations: 12.12 kB / 280.5 MB, free: 9.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01026, allocations: 4 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.44e-05/0.01036, allocations: 59.41 kB / 280.6 MB, free: 9.711 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.01156, allocations: 0.6803 MB / 281.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.01172, allocations: 74.53 kB / 281.3 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.301e-05/0.01179, allocations: 44.53 kB / 281.4 MB, free: 8.863 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.01181, allocations: 4 kB / 281.4 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.01183, allocations: 38.56 kB / 281.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.332e-06/0.01183, allocations: 0 / 281.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004219/0.01225, allocations: 179.4 kB / 281.6 MB, free: 8.625 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.0124, allocations: 154.2 kB / 281.7 MB, free: 8.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.01259, allocations: 241 kB / 282 MB, free: 8.191 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.01261, allocations: 29.7 kB / 282 MB, free: 8.156 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.01269, allocations: 160.8 kB / 282.2 MB, free: 7.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.088e-05/0.01272, allocations: 51.56 kB / 282.2 MB, free: 7.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.0128, allocations: 53.61 kB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.01288, allocations: 330.8 kB / 282.6 MB, free: 7.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-05/0.01294, allocations: 27.92 kB / 282.6 MB, free: 7.527 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.01305, allocations: 175.9 kB / 282.8 MB, free: 7.312 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.01316, allocations: 81.58 kB / 282.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.01316, allocations: 0 / 282.9 MB, free: 7.227 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003503/0.01667, allocations: 0.7163 MB / 283.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01668, allocations: 4 kB / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.01669, allocations: 0 / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00596/0.02265, allocations: 1.441 MB / 285 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.777e-05/0.02271, allocations: 19.98 kB / 285 MB, free: 5.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/0.02647, allocations: 3.489 MB / 288.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.02661, allocations: 24.09 kB / 288.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.02662, allocations: 7.938 kB / 288.6 MB, free: 1.328 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 0.0001103/0.02673, allocations: 129.8 kB / 288.7 MB, free: 1.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.858e-05/0.02677, allocations: 23.97 kB / 288.7 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.0268, allocations: 25.81 kB / 288.7 MB, free: 1.141 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.0268, allocations: 7.984 kB / 288.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.02681, allocations: 0 / 288.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.02681, allocations: 0 / 288.8 MB, free: 1.133 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.02728, allocations: 353 kB / 289.1 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.02728, allocations: 4 kB / 289.1 MB, free: 0.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.02733, allocations: 23.95 kB / 289.1 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001277/0.02746, allocations: 57.61 kB / 289.2 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.02747, allocations: 11.98 kB / 289.2 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1187/0.1461, allocations: 2.48 MB / 291.7 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1461, allocations: 0.7031 kB / 291.7 MB, free: 23.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1464, allocations: 220.8 kB / 291.9 MB, free: 23.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.1464, allocations: 30.05 kB / 291.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.1465, allocations: 8.328 kB / 291.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.1466, allocations: 10.08 kB / 291.9 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.957e-05/0.1466, allocations: 33.61 kB / 292 MB, free: 23.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1466, allocations: 6.547 kB / 292 MB, free: 23.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000103/0.1467, allocations: 87.27 kB / 292.1 MB, free: 23.01 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1468, allocations: 0 / 292.1 MB, free: 23.01 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004147/0.1472, allocations: 101.1 kB / 292.2 MB, free: 23.01 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 0.0001085/0.1473, allocations: 86.02 kB / 292.2 MB, free: 22.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007277/0.148, allocations: 475.3 kB / 292.7 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.148, allocations: 1.969 kB / 292.7 MB, free: 22.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.1482, allocations: 289.3 kB / 293 MB, free: 22.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002555/0.1484, allocations: 53.02 kB / 293 MB, free: 22.46 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.1493, allocations: 0.5193 MB / 293.6 MB, free: 22.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.099e-05/0.1494, allocations: 90.2 kB / 293.7 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.16e-05/0.1494, allocations: 24.17 kB / 293.7 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001452/0.1496, allocations: 104.2 kB / 293.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1496, allocations: 1.141 kB / 293.8 MB, free: 22.07 MB / 266.7 MB Notification: Performance of Templates: time 0.01215/0.1617, allocations: 8.877 MB / 302.7 MB, free: 19.61 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 -s gbode -gbm=radauIIA3 -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: 3.0074930866248906]