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.0009819/0.0009819, allocations: 84.25 kB / 22.22 MB, free: 2.281 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.0009749/0.0009749, allocations: 170 kB / 25.61 MB, free: 8.855 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.9941/0.9941, allocations: 177 MB / 205.9 MB, free: 4.434 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.002e-06/1.002e-06, allocations: 0 / 274.1 MB, free: 4.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.802e-05/1.903e-05, allocations: 2.312 kB / 274.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.002663/0.002682, allocations: 2.826 MB / 277 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.003857, allocations: 0.8335 MB / 277.8 MB, free: 0.5664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.003966, allocations: 4 kB / 277.8 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000118/0.004084, allocations: 49.14 kB / 277.9 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002499/0.004334, allocations: 127.7 kB / 278 MB, free: 400 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.004633, allocations: 204.8 kB / 278.2 MB, free: 196 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.004963, allocations: 0.4903 MB / 278.7 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.005099, allocations: 77.53 kB / 278.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002729/0.005371, allocations: 287.3 kB / 279 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.005564, allocations: 171.5 kB / 279.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.43e-05/0.005608, allocations: 44 kB / 279.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.49e-05/0.005673, allocations: 47.98 kB / 279.3 MB, free: 15.08 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.005727, allocations: 91.66 kB / 279.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.099e-05/0.005818, allocations: 139.6 kB / 279.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.006087, allocations: 311 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.006089, allocations: 0 / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.006089, allocations: 4 kB / 279.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.006094, allocations: 3.984 kB / 279.8 MB, free: 14.54 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.0008011/0.006895, allocations: 0.714 MB / 280.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.006925, allocations: 12.03 kB / 280.5 MB, free: 13.78 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.007049, allocations: 60.69 kB / 280.6 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.007292, allocations: 256.2 kB / 280.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.686e-05/0.007349, allocations: 76.45 kB / 280.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.007378, allocations: 28.38 kB / 281 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.007622, allocations: 352.5 kB / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.00763, allocations: 192 / 281.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.007646, allocations: 12.11 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.007653, allocations: 8 kB / 281.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.007735, allocations: 59.39 kB / 281.4 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.008826, allocations: 0.867 MB / 282.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.008963, allocations: 82.95 kB / 282.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.174e-05/0.009045, allocations: 47.66 kB / 282.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.009058, allocations: 0 / 282.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.009081, allocations: 41.39 kB / 282.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 8.51e-07/0.009082, allocations: 0 / 282.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003981/0.00948, allocations: 216.2 kB / 282.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.009561, allocations: 158.2 kB / 282.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.009719, allocations: 292.2 kB / 283.1 MB, free: 11.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.009742, allocations: 37.7 kB / 283.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.297e-05/0.009835, allocations: 227 kB / 283.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/0.009859, allocations: 51.52 kB / 283.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.52e-05/0.009924, allocations: 59.33 kB / 283.4 MB, free: 10.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001751/0.0101, allocations: 0.504 MB / 283.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.01015, allocations: 31.91 kB / 284 MB, free: 10.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.01025, allocations: 199.9 kB / 284.2 MB, free: 9.844 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.01035, allocations: 93.12 kB / 284.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01035, allocations: 0 / 284.3 MB, free: 9.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00318/0.01354, allocations: 0.7679 MB / 285 MB, free: 8.965 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.01355, allocations: 8 kB / 285 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.01355, allocations: 0 / 285 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006486/0.02004, allocations: 1.451 MB / 286.5 MB, free: 7.496 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.626e-05/0.0201, allocations: 15.98 kB / 286.5 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004729/0.02483, allocations: 4.741 MB / 291.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.02494, allocations: 27.78 kB / 291.3 MB, free: 2.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.02496, allocations: 12.02 kB / 291.3 MB, free: 2.469 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.0001094/0.02507, allocations: 164.6 kB / 291.4 MB, free: 2.297 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.994e-05/0.02511, allocations: 27.86 kB / 291.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.02513, allocations: 25.77 kB / 291.5 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.02514, allocations: 4 kB / 291.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.02514, allocations: 0 / 291.5 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.02515, allocations: 3.938 kB / 291.5 MB, free: 2.238 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004325/0.02558, allocations: 484.7 kB / 292 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.02558, allocations: 0 / 292 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.386e-05/0.02563, allocations: 20.03 kB / 292 MB, free: 1.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001331/0.02577, allocations: 71.33 kB / 292.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.02578, allocations: 7.984 kB / 292.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.02722, allocations: 3.679 MB / 295.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.02722, allocations: 0 / 295.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.02746, allocations: 317.8 kB / 296.1 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.976e-05/0.02749, allocations: 27.8 kB / 296.1 MB, free: 13.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.02751, allocations: 4 kB / 296.1 MB, free: 13.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.811e-05/0.0276, allocations: 16.05 kB / 296.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.02766, allocations: 39.83 kB / 296.1 MB, free: 13.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.02767, allocations: 7.984 kB / 296.2 MB, free: 13.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003727/0.02805, allocations: 209.1 kB / 296.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02805, allocations: 0 / 296.4 MB, free: 13.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000316/0.02836, allocations: 99.84 kB / 296.5 MB, free: 12.97 MB / 282.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.0001005/0.02846, allocations: 99.25 kB / 296.6 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007464/0.02921, allocations: 0.5761 MB / 297.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.02921, allocations: 0 / 297.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002383/0.02945, allocations: 411.2 kB / 297.5 MB, free: 11.81 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.02975, allocations: 48.53 kB / 297.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008739/0.03063, allocations: 0.526 MB / 298.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.84e-05/0.03068, allocations: 88.31 kB / 298.2 MB, free: 11.1 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.92e-05/0.03075, allocations: 29.92 kB / 298.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.03088, allocations: 130.2 kB / 298.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03088, allocations: 0 / 298.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of Templates: time 0.009962/0.04084, allocations: 9.16 MB / 307.5 MB, free: 1.852 MB / 282.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.085873254109174]