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.001284/0.001284, allocations: 87.67 kB / 21.19 MB, free: 3.367 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.001432/0.001432, allocations: 156.5 kB / 24.55 MB, free: 12 kB / 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.952/0.952, allocations: 177 MB / 204.8 MB, free: 5.586 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 2.384e-06/2.384e-06, allocations: 3.984 kB / 272.9 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.508e-05, allocations: 5.266 kB / 273 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.006674/0.006699, allocations: 2.85 MB / 275.8 MB, free: 14.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.008049, allocations: 0.8452 MB / 276.6 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003154/0.0112, allocations: 4 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001491/0.01135, allocations: 43.58 kB / 276.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003271/0.01168, allocations: 127 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005423/0.01222, allocations: 203.6 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.01269, allocations: 0.4941 MB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001796/0.01286, allocations: 73.53 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00036/0.01322, allocations: 291.3 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.01347, allocations: 171.5 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.742e-05/0.01353, allocations: 44 kB / 278.1 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.01362, allocations: 44 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.716e-05/0.01368, allocations: 103.6 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.0138, allocations: 139.6 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003384/0.01719, allocations: 303 kB / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.01719, allocations: 0 / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.01719, allocations: 0 / 278.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.0172, allocations: 0 / 278.7 MB, free: 11.68 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.001063/0.01826, allocations: 0.7218 MB / 279.4 MB, free: 10.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.0183, allocations: 11.98 kB / 279.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.01847, allocations: 68.69 kB / 279.5 MB, free: 10.84 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.01882, allocations: 260.2 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.438e-05/0.01891, allocations: 76.45 kB / 279.8 MB, free: 10.47 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.01895, allocations: 24.38 kB / 279.8 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.01932, allocations: 360.5 kB / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.01933, allocations: 192 / 280.2 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.01936, allocations: 12.12 kB / 280.2 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.01937, allocations: 4 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001677/0.01954, allocations: 82.94 kB / 280.3 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.02128, allocations: 0.9093 MB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.02149, allocations: 87.03 kB / 281.3 MB, free: 8.875 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.0216, allocations: 55.66 kB / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.02162, allocations: 0 / 281.3 MB, free: 8.816 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.02164, allocations: 41.39 kB / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.02165, allocations: 0 / 281.3 MB, free: 8.766 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.000567/0.02221, allocations: 220.6 kB / 281.6 MB, free: 8.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.02228, allocations: 162.2 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002578/0.02254, allocations: 304.3 kB / 282 MB, free: 8.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.456e-05/0.02256, allocations: 29.7 kB / 282 MB, free: 8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.02269, allocations: 231 kB / 282.3 MB, free: 7.766 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.189e-05/0.02272, allocations: 51.52 kB / 282.3 MB, free: 7.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.02281, allocations: 59.33 kB / 282.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.02294, allocations: 0.5078 MB / 282.9 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-05/0.02304, allocations: 39.97 kB / 282.9 MB, free: 7.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.02321, allocations: 204.9 kB / 283.1 MB, free: 6.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/0.02338, allocations: 107.4 kB / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.02338, allocations: 0 / 283.2 MB, free: 6.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.004254/0.02764, allocations: 0.7927 MB / 284 MB, free: 5.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.02765, allocations: 4 kB / 284 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.02766, allocations: 3.938 kB / 284 MB, free: 5.914 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006268/0.03393, allocations: 1.458 MB / 285.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.022e-05/0.03399, allocations: 19.98 kB / 285.5 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004895/0.03888, allocations: 4.828 MB / 290.3 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.03901, allocations: 19.84 kB / 290.4 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.03903, allocations: 15.97 kB / 290.4 MB, free: 15.32 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.0001029/0.03913, allocations: 164.6 kB / 290.5 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.03917, allocations: 31.86 kB / 290.6 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.0392, allocations: 29.7 kB / 290.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.0392, allocations: 4 kB / 290.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.03921, allocations: 4.031 kB / 290.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.03921, allocations: 0 / 290.6 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.03968, allocations: 0.5119 MB / 291.1 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.03968, allocations: 0 / 291.1 MB, free: 14.51 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.03974, allocations: 19.98 kB / 291.1 MB, free: 14.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001526/0.03989, allocations: 67.3 kB / 291.2 MB, free: 14.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.0399, allocations: 7.984 kB / 291.2 MB, free: 14.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001766/0.04167, allocations: 3.725 MB / 294.9 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.04167, allocations: 3.938 kB / 294.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.04194, allocations: 326.8 kB / 295.3 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.056e-05/0.04197, allocations: 31.78 kB / 295.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.04199, allocations: 4 kB / 295.3 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.885e-05/0.04208, allocations: 8 kB / 295.3 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.29e-05/0.04216, allocations: 35.94 kB / 295.3 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.04217, allocations: 4 kB / 295.3 MB, free: 10 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001277/0.04229, allocations: 213.1 kB / 295.5 MB, free: 9.789 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04229, allocations: 0 / 295.5 MB, free: 9.789 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003383/0.04263, allocations: 103.8 kB / 295.6 MB, free: 9.688 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 9.981e-05/0.04273, allocations: 103.2 kB / 295.7 MB, free: 9.578 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007451/0.04348, allocations: 0.5872 MB / 296.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.04348, allocations: 7.938 kB / 296.3 MB, free: 8.949 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.0437, allocations: 418.7 kB / 296.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.04399, allocations: 63.83 kB / 296.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008534/0.04484, allocations: 0.4992 MB / 297.3 MB, free: 7.914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.184e-05/0.04491, allocations: 92.55 kB / 297.4 MB, free: 7.805 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.777e-05/0.04497, allocations: 25.89 kB / 297.4 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.04503, allocations: 32.48 kB / 297.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.04503, allocations: 0 / 297.5 MB, free: 7.75 MB / 282.7 MB Notification: Performance of Templates: time 0.1068/0.1518, allocations: 8.937 MB / 306.4 MB, free: 39.72 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.2023910130374134]