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.001965/0.001965, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.002289/0.002289, allocations: 215.5 kB / 24.49 MB, free: 3.934 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.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.809 MB / 206.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.001548/0.001548, allocations: 47.92 kB / 379 MB, free: 2.516 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2198, allocations: 53.36 MB / 432.4 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.003961/0.2237, allocations: 2.657 MB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.2252, allocations: 0.8258 MB / 435.8 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2253, allocations: 4 kB / 435.9 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001317/0.2254, allocations: 47.5 kB / 435.9 MB, free: 3.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000313/0.2257, allocations: 127.1 kB / 436 MB, free: 3.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003999/0.2261, allocations: 199.6 kB / 436.2 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004866/0.2266, allocations: 482.3 kB / 436.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.2268, allocations: 89.91 kB / 436.8 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.2271, allocations: 195.3 kB / 437 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2274, allocations: 227.1 kB / 437.2 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.2275, allocations: 44 kB / 437.2 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.2276, allocations: 48 kB / 437.3 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.2276, allocations: 95.7 kB / 437.4 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.2278, allocations: 159.3 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004741/0.2283, allocations: 452.1 kB / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.2283, allocations: 0 / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2283, allocations: 0 / 438 MB, free: 1.074 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2283, allocations: 0 / 438 MB, free: 1.074 MB / 334.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.001535/0.2298, allocations: 0.6219 MB / 438.6 MB, free: 432 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.2299, allocations: 12.02 kB / 438.6 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.2301, allocations: 44.7 kB / 438.6 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004315/0.2305, allocations: 257.4 kB / 438.9 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.37e-05/0.2306, allocations: 76.39 kB / 439 MB, free: 8 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.2306, allocations: 20.42 kB / 439 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005703/0.2312, allocations: 416.9 kB / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.2312, allocations: 0 / 439.4 MB, free: 15.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.2313, allocations: 12 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.2313, allocations: 4 kB / 439.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000364/0.2316, allocations: 161.7 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002386/0.234, allocations: 0.8778 MB / 440.5 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.2343, allocations: 106.5 kB / 440.6 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.2345, allocations: 72.83 kB / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.2345, allocations: 0 / 440.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2346, allocations: 42.48 kB / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.092e-06/0.2346, allocations: 0 / 440.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0009395/0.2355, allocations: 294.9 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.2356, allocations: 154.2 kB / 441.1 MB, free: 13.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003161/0.2359, allocations: 269.8 kB / 441.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.2359, allocations: 33.7 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.2361, allocations: 180.3 kB / 441.6 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.575e-05/0.2361, allocations: 51.53 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.2362, allocations: 49.69 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.2364, allocations: 334.8 kB / 442 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.2366, allocations: 83.95 kB / 442.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.2369, allocations: 241.9 kB / 442.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003501/0.2372, allocations: 172.1 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2372, allocations: 0 / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00913/0.2464, allocations: 0.8794 MB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.2464, allocations: 8 kB / 443.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2464, allocations: 0 / 443.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/0.2572, allocations: 0.8365 MB / 444.2 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/0.2574, allocations: 15.98 kB / 444.2 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.2674, allocations: 4.566 MB / 448.8 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003213/0.2677, allocations: 31.86 kB / 448.8 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.2677, allocations: 4 kB / 448.8 MB, free: 5.668 MB / 350.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.0001791/0.2679, allocations: 149.9 kB / 449 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.268, allocations: 27.8 kB / 449 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.268, allocations: 21.78 kB / 449 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.268, allocations: 3.984 kB / 449 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.268, allocations: 0 / 449 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.705e-05/0.2681, allocations: 19.86 kB / 449.1 MB, free: 5.438 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.2681, allocations: 8.062 kB / 449.1 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002427/0.2683, allocations: 15.98 kB / 449.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.335e-05/0.2684, allocations: 31.94 kB / 449.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006129/0.269, allocations: 270.5 kB / 449.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005919/0.2696, allocations: 430.5 kB / 449.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001395/0.2698, allocations: 58.64 kB / 449.8 MB, free: 4.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002121/0.27, allocations: 189.2 kB / 450 MB, free: 4.43 MB / 350.1 MB Notification: Performance of Backend: time 4.81e-07/0.27, allocations: 0 / 450 MB, free: 4.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.2718, allocations: 0.5774 MB / 450.6 MB, free: 3.82 MB / 350.1 MB Notification: Performance of SimCode: time 0.001235/0.273, allocations: 1.041 MB / 451.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Templates: time 0.01473/0.2878, allocations: 9.116 MB / 460.8 MB, free: 9.664 MB / 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 -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.814950421001413]