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.001091/0.001091, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001088/0.001088, allocations: 161.4 kB / 24.56 MB, free: 20 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 1.028/1.028, allocations: 177.1 MB / 205 MB, free: 5.605 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.194e-06/2.194e-06, allocations: 0 / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.685e-05, allocations: 2.312 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.006717/0.006744, allocations: 2.849 MB / 275.9 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.01114, allocations: 0.8414 MB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001358/0.01128, allocations: 0 / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001395/0.01142, allocations: 43.56 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.01174, allocations: 131 kB / 276.9 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.01213, allocations: 207.5 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004605/0.01259, allocations: 0.4904 MB / 277.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.01274, allocations: 73.53 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.01312, allocations: 287.3 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002613/0.01338, allocations: 167.5 kB / 278.1 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.985e-05/0.01344, allocations: 44 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.01352, allocations: 44 kB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.0136, allocations: 107.6 kB / 278.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.01372, allocations: 139.6 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.0141, allocations: 303 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.01411, allocations: 0 / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.01411, allocations: 0 / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.01411, allocations: 0 / 278.7 MB, free: 11.77 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.001019/0.01513, allocations: 0.7219 MB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.01518, allocations: 8.031 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000162/0.01534, allocations: 68.7 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005046/0.01584, allocations: 260.1 kB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.019e-05/0.01592, allocations: 76.45 kB / 279.8 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.01596, allocations: 24.38 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.01629, allocations: 368.5 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.0163, allocations: 192 / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.01632, allocations: 12.12 kB / 280.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.01633, allocations: 8 kB / 280.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.01647, allocations: 74.94 kB / 280.3 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.0178, allocations: 0.9133 MB / 281.2 MB, free: 9.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.018, allocations: 91.03 kB / 281.3 MB, free: 8.953 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.0181, allocations: 55.66 kB / 281.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.01812, allocations: 4 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.01814, allocations: 33.39 kB / 281.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.232e-06/0.01815, allocations: 0 / 281.4 MB, free: 8.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004744/0.01862, allocations: 220.9 kB / 281.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.01867, allocations: 158.2 kB / 281.8 MB, free: 8.426 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000206/0.01888, allocations: 304.3 kB / 282.1 MB, free: 8.109 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.0189, allocations: 29.7 kB / 282.1 MB, free: 8.074 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.792e-05/0.019, allocations: 235 kB / 282.3 MB, free: 7.836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.56e-05/0.01902, allocations: 47.59 kB / 282.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.038e-05/0.01909, allocations: 59.33 kB / 282.4 MB, free: 7.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.01921, allocations: 0.5039 MB / 282.9 MB, free: 7.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.275e-05/0.01928, allocations: 39.97 kB / 283 MB, free: 7.168 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.01941, allocations: 208.8 kB / 283.2 MB, free: 6.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.01955, allocations: 106.7 kB / 283.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.01955, allocations: 0 / 283.3 MB, free: 6.805 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.003201/0.02275, allocations: 0.7927 MB / 284.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.02276, allocations: 4 kB / 284.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.02277, allocations: 0 / 284.1 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006301/0.02907, allocations: 1.458 MB / 285.5 MB, free: 4.523 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.924e-05/0.02914, allocations: 23.98 kB / 285.6 MB, free: 4.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005069/0.0342, allocations: 4.833 MB / 290.4 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.03435, allocations: 23.84 kB / 290.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.03436, allocations: 7.984 kB / 290.4 MB, free: 15.4 MB / 282.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.0001258/0.03449, allocations: 172.5 kB / 290.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.396e-05/0.03453, allocations: 23.86 kB / 290.6 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.03456, allocations: 29.7 kB / 290.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.03456, allocations: 4 kB / 290.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.03457, allocations: 4.031 kB / 290.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.03457, allocations: 0 / 290.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.03511, allocations: 0.5118 MB / 291.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.03512, allocations: 7.984 kB / 291.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.64e-05/0.03517, allocations: 19.98 kB / 291.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001566/0.03533, allocations: 67.3 kB / 291.3 MB, free: 14.5 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.03534, allocations: 7.984 kB / 291.3 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.03722, allocations: 3.72 MB / 295 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.03722, allocations: 3.938 kB / 295 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.03752, allocations: 322.8 kB / 295.3 MB, free: 10.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.03755, allocations: 31.78 kB / 295.3 MB, free: 10.14 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.03757, allocations: 8 kB / 295.3 MB, free: 10.13 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.03767, allocations: 4.094 kB / 295.3 MB, free: 10.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.643e-05/0.03774, allocations: 39.92 kB / 295.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.03775, allocations: 8 kB / 295.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.03788, allocations: 213.1 kB / 295.6 MB, free: 9.871 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03788, allocations: 4 kB / 295.6 MB, free: 9.867 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.03823, allocations: 99.84 kB / 295.7 MB, free: 9.77 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.0001293/0.03836, allocations: 99.25 kB / 295.8 MB, free: 9.664 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008363/0.0392, allocations: 0.5986 MB / 296.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.0392, allocations: 0 / 296.4 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003089/0.03951, allocations: 411.2 kB / 296.8 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.03982, allocations: 66.64 kB / 296.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.04085, allocations: 0.507 MB / 297.4 MB, free: 7.996 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.04093, allocations: 88.3 kB / 297.5 MB, free: 7.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.49e-05/0.041, allocations: 29.94 kB / 297.5 MB, free: 7.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/0.04106, allocations: 28.48 kB / 297.5 MB, free: 7.836 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.04107, allocations: 0 / 297.5 MB, free: 7.836 MB / 282.7 MB Notification: Performance of Templates: time 0.134/0.1751, allocations: 8.558 MB / 306.1 MB, free: 39.73 MB / 282.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.463477673009038]