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.001377/0.001377, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.0018/0.0018, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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 1.484/1.484, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001763/0.001763, allocations: 43.03 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1019, allocations: 53.35 MB / 378.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.005591/0.1075, allocations: 2.656 MB / 381.6 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.1101, allocations: 0.822 MB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003245/0.1104, allocations: 4 kB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002239/0.1106, allocations: 47.5 kB / 382.5 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004521/0.1111, allocations: 123 kB / 382.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005189/0.1116, allocations: 211.5 kB / 382.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000552/0.1122, allocations: 482.3 kB / 383.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.1124, allocations: 74.16 kB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003764/0.1128, allocations: 195.4 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.1131, allocations: 191.2 kB / 383.7 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.497e-05/0.1132, allocations: 43.94 kB / 383.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.1133, allocations: 52 kB / 383.8 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1134, allocations: 95.66 kB / 383.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.1136, allocations: 159.4 kB / 384.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006075/0.1142, allocations: 458.2 kB / 384.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.1143, allocations: 0 / 384.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1143, allocations: 4 kB / 384.5 MB, free: 10.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1143, allocations: 0 / 384.5 MB, free: 10.03 MB / 350.1 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.001549/0.1158, allocations: 0.6181 MB / 385.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1159, allocations: 12.03 kB / 385.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.1161, allocations: 48.7 kB / 385.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/0.1166, allocations: 249.4 kB / 385.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.1167, allocations: 76.45 kB / 385.5 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.1167, allocations: 24.38 kB / 385.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005556/0.1173, allocations: 413.9 kB / 385.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.1173, allocations: 0 / 385.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.612e-05/0.1173, allocations: 8 kB / 385.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1173, allocations: 4 kB / 385.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.1177, allocations: 161.9 kB / 386.1 MB, free: 8.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002237/0.1199, allocations: 0.8827 MB / 387 MB, free: 7.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1203, allocations: 118.5 kB / 387.1 MB, free: 7.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.1205, allocations: 68.83 kB / 387.2 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1205, allocations: 4 kB / 387.2 MB, free: 7.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.1205, allocations: 42.42 kB / 387.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.212e-06/0.1205, allocations: 0 / 387.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009603/0.1215, allocations: 282.7 kB / 387.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1216, allocations: 162.2 kB / 387.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003222/0.1219, allocations: 261.9 kB / 387.9 MB, free: 6.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.161e-05/0.122, allocations: 29.7 kB / 387.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.1221, allocations: 184.3 kB / 388.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.803e-05/0.1222, allocations: 55.53 kB / 388.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.1223, allocations: 49.69 kB / 388.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1225, allocations: 338.8 kB / 388.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002071/0.1227, allocations: 87.95 kB / 388.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.123, allocations: 235.1 kB / 388.9 MB, free: 5.359 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003584/0.1233, allocations: 181 kB / 389 MB, free: 5.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1233, allocations: 0 / 389 MB, free: 5.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.007599/0.1309, allocations: 0.8849 MB / 389.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.131, allocations: 6.812 kB / 389.9 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.131, allocations: 7.922 kB / 389.9 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009309/0.1403, allocations: 0.821 MB / 390.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.1404, allocations: 19.98 kB / 390.8 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009421/0.1499, allocations: 4.557 MB / 395.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000329/0.1502, allocations: 31.84 kB / 395.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.1502, allocations: 8 kB / 395.4 MB, free: 14.61 MB / 366.1 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.0002016/0.1504, allocations: 141.9 kB / 395.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.861e-05/0.1505, allocations: 27.8 kB / 395.5 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1505, allocations: 21.78 kB / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.1506, allocations: 7.984 kB / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1506, allocations: 0 / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1506, allocations: 0 / 395.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009854/0.1515, allocations: 0.516 MB / 396.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.1516, allocations: 4 kB / 396.1 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.1517, allocations: 19.98 kB / 396.1 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001948/0.1519, allocations: 53.67 kB / 396.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1519, allocations: 0 / 396.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.1541, allocations: 2.678 MB / 398.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1541, allocations: 0 / 398.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005372/0.1547, allocations: 318 kB / 399.1 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.1547, allocations: 23.8 kB / 399.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1548, allocations: 4 kB / 399.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.155, allocations: 15.98 kB / 399.2 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.298e-05/0.155, allocations: 23.95 kB / 399.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.1551, allocations: 15.98 kB / 399.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002268/0.1553, allocations: 189.2 kB / 399.4 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1553, allocations: 4 kB / 399.4 MB, free: 10.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005558/0.1559, allocations: 99.84 kB / 399.5 MB, free: 10.18 MB / 366.1 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.0001457/0.156, allocations: 111.1 kB / 399.6 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.1576, allocations: 0.5283 MB / 400.2 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.1576, allocations: 4 kB / 400.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004871/0.1581, allocations: 317.3 kB / 400.5 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004541/0.1586, allocations: 51.88 kB / 400.5 MB, free: 9.125 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1596, allocations: 0.5291 MB / 401 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001773/0.1598, allocations: 158.8 kB / 401.2 MB, free: 8.391 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.1599, allocations: 26.02 kB / 401.2 MB, free: 8.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.262e-05/0.16, allocations: 28.48 kB / 401.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.16, allocations: 0 / 401.3 MB, free: 8.34 MB / 366.1 MB Notification: Performance of Templates: time 0.01485/0.1749, allocations: 8.238 MB / 409.5 MB, free: 144 kB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.826475851004943]