Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9494/0.9494, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 273 MB, free: 1.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.962e-05/3.176e-05, allocations: 2.312 kB / 273 MB, free: 1.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004547/0.004579, allocations: 2.849 MB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.005875, allocations: 0.8375 MB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.005991, allocations: 7.875 kB / 276.7 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001472/0.006138, allocations: 43.58 kB / 276.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002971/0.006435, allocations: 127 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003583/0.006794, allocations: 199.6 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004172/0.007211, allocations: 0.4903 MB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.007374, allocations: 73.53 kB / 277.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003237/0.007697, allocations: 295.3 kB / 277.9 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002352/0.007932, allocations: 163.5 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.604e-05/0.007988, allocations: 44 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.008071, allocations: 44 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.008141, allocations: 103.6 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.008259, allocations: 139.6 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.008602, allocations: 303 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.008605, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.008606, allocations: 0 / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.00861, allocations: 0 / 278.7 MB, free: 11.64 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.001064/0.009674, allocations: 0.7258 MB / 279.4 MB, free: 10.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.009712, allocations: 8.031 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.009914, allocations: 64.69 kB / 279.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.01026, allocations: 260.2 kB / 279.8 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.01035, allocations: 76.45 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.01039, allocations: 24.38 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.01077, allocations: 368.5 kB / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01078, allocations: 4.125 kB / 280.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.774e-05/0.01081, allocations: 12.12 kB / 280.2 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.01082, allocations: 8 kB / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000171/0.01099, allocations: 78.92 kB / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.01247, allocations: 0.9133 MB / 281.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.01267, allocations: 87.03 kB / 281.3 MB, free: 8.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.01278, allocations: 51.66 kB / 281.4 MB, free: 8.766 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.0128, allocations: 8 kB / 281.4 MB, free: 8.758 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.01282, allocations: 33.39 kB / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.01282, allocations: 0 / 281.4 MB, free: 8.715 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005556/0.01338, allocations: 220.9 kB / 281.6 MB, free: 8.484 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.01344, allocations: 158.2 kB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.01368, allocations: 304.3 kB / 282.1 MB, free: 7.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.0137, allocations: 29.7 kB / 282.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001208/0.01382, allocations: 231 kB / 282.3 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.01386, allocations: 51.59 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.901e-05/0.01395, allocations: 59.33 kB / 282.4 MB, free: 7.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.01408, allocations: 0.5039 MB / 282.9 MB, free: 7.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.703e-05/0.01418, allocations: 39.97 kB / 283 MB, free: 7.035 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.01434, allocations: 208.8 kB / 283.2 MB, free: 6.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.01451, allocations: 99.3 kB / 283.3 MB, free: 6.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01451, allocations: 0 / 283.3 MB, free: 6.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.004157/0.01867, allocations: 0.7954 MB / 284.1 MB, free: 5.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.01868, allocations: 8 kB / 284.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.01869, allocations: 0 / 284.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008293/0.02698, allocations: 1.458 MB / 285.5 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.895e-05/0.02705, allocations: 15.98 kB / 285.6 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1234/0.1504, allocations: 4.83 MB / 290.4 MB, free: 23.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.1507, allocations: 20.3 kB / 290.4 MB, free: 23.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.1507, allocations: 7.938 kB / 290.4 MB, free: 23.6 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.0001123/0.1508, allocations: 174.1 kB / 290.6 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.593e-05/0.1509, allocations: 31 kB / 290.6 MB, free: 23.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.683e-05/0.1509, allocations: 23.47 kB / 290.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1509, allocations: 6.156 kB / 290.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1509, allocations: 0 / 290.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.1509, allocations: 3.406 kB / 290.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005763/0.1515, allocations: 0.5133 MB / 291.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1515, allocations: 2.094 kB / 291.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.022e-05/0.1515, allocations: 22.22 kB / 291.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001884/0.1517, allocations: 69.67 kB / 291.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1518, allocations: 6.844 kB / 291.3 MB, free: 23.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001046/0.1528, allocations: 3.731 MB / 295 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1528, allocations: 1.844 kB / 295 MB, free: 19.43 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002769/0.1531, allocations: 325.5 kB / 295.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.193e-05/0.1531, allocations: 23.64 kB / 295.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.1531, allocations: 5.109 kB / 295.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001219/0.1533, allocations: 8.531 kB / 295.3 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.1533, allocations: 41.12 kB / 295.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.1534, allocations: 6.422 kB / 295.4 MB, free: 19.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.1535, allocations: 215.1 kB / 295.6 MB, free: 19.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1535, allocations: 1.125 kB / 295.6 MB, free: 19.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004818/0.154, allocations: 99.78 kB / 295.7 MB, free: 19.08 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 8.667e-05/0.1541, allocations: 101.6 kB / 295.8 MB, free: 18.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000889/0.155, allocations: 0.5936 MB / 296.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.155, allocations: 1.125 kB / 296.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002251/0.1552, allocations: 417.2 kB / 296.8 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003786/0.1556, allocations: 52.05 kB / 296.9 MB, free: 18.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.1565, allocations: 0.5083 MB / 297.4 MB, free: 17.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.73e-05/0.1565, allocations: 96.53 kB / 297.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.566e-05/0.1566, allocations: 25.19 kB / 297.5 MB, free: 17.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.955e-05/0.1567, allocations: 30.36 kB / 297.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of SimCode: time 5.91e-07/0.1567, allocations: 3.375 kB / 297.5 MB, free: 17.9 MB / 266.7 MB Notification: Performance of Templates: time 0.01223/0.1689, allocations: 8.957 MB / 306.5 MB, free: 15.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.0556755089201033]