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.0009605/0.0009605, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.000888/0.000888, allocations: 163.9 kB / 24.99 MB, free: 9.324 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 1.049/1.049, allocations: 177 MB / 205.2 MB, free: 5.246 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 2.384e-06/2.384e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.611e-05/3.849e-05, allocations: 6.25 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005171/0.005209, allocations: 2.848 MB / 275.9 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.007272, allocations: 0.8335 MB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.007502, allocations: 4 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.007727, allocations: 39.58 kB / 276.8 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005262/0.008253, allocations: 135 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.008892, allocations: 207.5 kB / 277.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006263/0.009518, allocations: 0.4902 MB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.009765, allocations: 73.53 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005278/0.01029, allocations: 283.4 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000393/0.01069, allocations: 175.5 kB / 278.1 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.01078, allocations: 48 kB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.0109, allocations: 44 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.705e-05/0.01099, allocations: 95.66 kB / 278.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.01116, allocations: 139.6 kB / 278.4 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005082/0.01167, allocations: 307 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.01168, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01168, allocations: 0 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.01169, allocations: 0 / 278.7 MB, free: 11.84 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.001042/0.01273, allocations: 0.7218 MB / 279.4 MB, free: 11.08 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.01278, allocations: 11.98 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001974/0.01297, allocations: 72.62 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.01333, allocations: 256.2 kB / 279.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.715e-05/0.01342, allocations: 72.47 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.53e-05/0.01345, allocations: 24.38 kB / 279.9 MB, free: 10.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.01379, allocations: 368.5 kB / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.0138, allocations: 192 / 280.2 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.239e-05/0.01383, allocations: 12.12 kB / 280.2 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.01384, allocations: 12 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.01398, allocations: 70.95 kB / 280.3 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/0.01533, allocations: 0.9093 MB / 281.2 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.01553, allocations: 91.03 kB / 281.3 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.01565, allocations: 51.66 kB / 281.4 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.01567, allocations: 4 kB / 281.4 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.01569, allocations: 37.39 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.01569, allocations: 0 / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005325/0.01623, allocations: 228.8 kB / 281.6 MB, free: 8.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.01629, allocations: 158.2 kB / 281.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.01653, allocations: 308.2 kB / 282.1 MB, free: 8.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.71e-05/0.01655, allocations: 29.7 kB / 282.1 MB, free: 8.148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.01667, allocations: 231 kB / 282.3 MB, free: 7.914 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.0167, allocations: 47.58 kB / 282.4 MB, free: 7.867 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.197e-05/0.01677, allocations: 55.34 kB / 282.4 MB, free: 7.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.0169, allocations: 0.5078 MB / 283 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.32e-05/0.01699, allocations: 43.97 kB / 283 MB, free: 7.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.01713, allocations: 204.9 kB / 283.2 MB, free: 6.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.01728, allocations: 102.8 kB / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.01728, allocations: 0 / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003434/0.02071, allocations: 0.7965 MB / 284.1 MB, free: 6.074 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.02073, allocations: 4 kB / 284.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.02074, allocations: 0 / 284.1 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006769/0.02751, allocations: 1.47 MB / 285.6 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.788e-05/0.02761, allocations: 19.92 kB / 285.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.133/0.1606, allocations: 4.811 MB / 290.4 MB, free: 25.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.1608, allocations: 20.88 kB / 290.4 MB, free: 25.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.1608, allocations: 10.45 kB / 290.4 MB, free: 25.91 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.0001129/0.1609, allocations: 169 kB / 290.6 MB, free: 25.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.643e-05/0.161, allocations: 29.94 kB / 290.6 MB, free: 25.75 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.161, allocations: 26.59 kB / 290.6 MB, free: 25.74 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.161, allocations: 2.188 kB / 290.7 MB, free: 25.74 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.161, allocations: 2.109 kB / 290.7 MB, free: 25.74 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.161, allocations: 1.891 kB / 290.7 MB, free: 25.74 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.1615, allocations: 0.5142 MB / 291.2 MB, free: 25.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1615, allocations: 0 / 291.2 MB, free: 25.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.1616, allocations: 21.27 kB / 291.2 MB, free: 25.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.1618, allocations: 66.98 kB / 291.3 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1618, allocations: 9.562 kB / 291.3 MB, free: 25.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009762/0.1628, allocations: 3.723 MB / 295 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1628, allocations: 3.281 kB / 295 MB, free: 21.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.163, allocations: 325.7 kB / 295.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.1631, allocations: 26.84 kB / 295.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.04e-05/0.1631, allocations: 6.156 kB / 295.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.1632, allocations: 8.609 kB / 295.3 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.1633, allocations: 34.62 kB / 295.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.1633, allocations: 9.828 kB / 295.4 MB, free: 21.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.1634, allocations: 215.3 kB / 295.6 MB, free: 21.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1634, allocations: 1.094 kB / 295.6 MB, free: 21.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004164/0.1638, allocations: 100.6 kB / 295.7 MB, free: 21.4 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.0001053/0.164, allocations: 107.1 kB / 295.8 MB, free: 21.31 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008283/0.1648, allocations: 0.5975 MB / 296.4 MB, free: 20.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1648, allocations: 1.062 kB / 296.4 MB, free: 20.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.165, allocations: 408.4 kB / 296.8 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1653, allocations: 53.36 kB / 296.9 MB, free: 20.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.1663, allocations: 0.5078 MB / 297.4 MB, free: 20.3 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.773e-05/0.1664, allocations: 89.92 kB / 297.5 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.055e-05/0.1665, allocations: 21.75 kB / 297.5 MB, free: 20.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.1665, allocations: 31.12 kB / 297.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of SimCode: time 1.041e-06/0.1665, allocations: 0 / 297.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of Templates: time 0.01196/0.1785, allocations: 8.577 MB / 306.1 MB, free: 17.68 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: 3.2062427159398794]