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.001863/0.001863, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001962/0.001962, allocations: 161.7 kB / 24.27 MB, free: 172 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.537/1.537, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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 1.723e-06/1.723e-06, allocations: 0 / 272.4 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.809e-05/2.982e-05, allocations: 6.312 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Lines.LightningLosslessTransmissionLine): time 0.004895/0.004924, allocations: 2.67 MB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.006817, allocations: 0.8219 MB / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.007026, allocations: 0 / 275.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001728/0.007199, allocations: 47.52 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003918/0.007591, allocations: 127 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.0081, allocations: 207.5 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005845/0.008684, allocations: 494.1 kB / 276.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.008881, allocations: 81.52 kB / 276.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004629/0.009344, allocations: 283.4 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.009661, allocations: 167.5 kB / 277.2 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.009737, allocations: 44 kB / 277.3 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.009844, allocations: 51.94 kB / 277.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.009958, allocations: 95.64 kB / 277.4 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.01013, allocations: 135.7 kB / 277.5 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006174/0.01075, allocations: 482.5 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.01075, allocations: 3.984 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01076, allocations: 4 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.01076, allocations: 0 / 278 MB, free: 12.09 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.001651/0.01241, allocations: 0.6181 MB / 278.6 MB, free: 11.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.01245, allocations: 8.031 kB / 278.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.01269, allocations: 64.7 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005363/0.01323, allocations: 244.8 kB / 279 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.01335, allocations: 84.39 kB / 279 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.0134, allocations: 24.38 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/0.01405, allocations: 410.3 kB / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.01406, allocations: 192 / 279.5 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.01409, allocations: 12.12 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.0141, allocations: 8 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003982/0.0145, allocations: 161.9 kB / 279.6 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002514/0.01702, allocations: 0.8867 MB / 280.5 MB, free: 9.418 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.01739, allocations: 110.5 kB / 280.6 MB, free: 9.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.01762, allocations: 80.81 kB / 280.7 MB, free: 9.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.01765, allocations: 3.984 kB / 280.7 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.01769, allocations: 42.55 kB / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.01769, allocations: 0 / 280.8 MB, free: 9.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=14): time 0.001089/0.01878, allocations: 287.2 kB / 281 MB, free: 8.871 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.01891, allocations: 162.2 kB / 281.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003584/0.01927, allocations: 261.9 kB / 281.5 MB, free: 8.406 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.238e-05/0.01931, allocations: 33.7 kB / 281.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001666/0.01948, allocations: 184.3 kB / 281.7 MB, free: 8.184 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.01953, allocations: 47.55 kB / 281.7 MB, free: 8.137 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.01964, allocations: 49.67 kB / 281.8 MB, free: 8.082 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002095/0.01985, allocations: 338.8 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.02006, allocations: 83.97 kB / 282.2 MB, free: 7.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/0.0204, allocations: 239.9 kB / 282.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.02078, allocations: 164.9 kB / 282.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.02078, allocations: 4 kB / 282.6 MB, free: 7.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.008525/0.02931, allocations: 0.8926 MB / 283.5 MB, free: 6.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.02933, allocations: 4 kB / 283.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.02934, allocations: 4 kB / 283.5 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01578/0.04512, allocations: 1.465 MB / 284.9 MB, free: 4.828 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.04526, allocations: 19.98 kB / 285 MB, free: 4.809 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/0.05579, allocations: 4.58 MB / 289.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.05612, allocations: 23.91 kB / 289.6 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.18e-05/0.05617, allocations: 8.047 kB / 289.6 MB, free: 15.99 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.0002029/0.05637, allocations: 137.8 kB / 289.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.88e-05/0.05645, allocations: 27.81 kB / 289.7 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.606e-05/0.05651, allocations: 29.72 kB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.05652, allocations: 3.984 kB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.05653, allocations: 4.062 kB / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.05653, allocations: 0 / 289.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.05815, allocations: 0.5199 MB / 290.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.05815, allocations: 0 / 290.3 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000131/0.05828, allocations: 15.98 kB / 290.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000348/0.05863, allocations: 65.69 kB / 290.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.05865, allocations: 8 kB / 290.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/0.06164, allocations: 2.678 MB / 293.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.06164, allocations: 3.938 kB / 293.1 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006265/0.06227, allocations: 318 kB / 293.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.06233, allocations: 27.78 kB / 293.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.06237, allocations: 8 kB / 293.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.0626, allocations: 11.98 kB / 293.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.06271, allocations: 31.89 kB / 293.4 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.06272, allocations: 8 kB / 293.5 MB, free: 11.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002613/0.06299, allocations: 193.2 kB / 293.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.06299, allocations: 4 kB / 293.6 MB, free: 11.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006307/0.06362, allocations: 99.84 kB / 293.7 MB, free: 11.53 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.0001708/0.06379, allocations: 99.25 kB / 293.8 MB, free: 11.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.06547, allocations: 0.531 MB / 294.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.06547, allocations: 4 kB / 294.4 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/0.06599, allocations: 329.1 kB / 294.7 MB, free: 10.52 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.06648, allocations: 59.42 kB / 294.8 MB, free: 10.46 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001078/0.06755, allocations: 0.5041 MB / 295.3 MB, free: 9.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.06775, allocations: 159.1 kB / 295.4 MB, free: 9.754 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001077/0.06786, allocations: 21.95 kB / 295.4 MB, free: 9.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.599e-05/0.06795, allocations: 32.48 kB / 295.5 MB, free: 9.703 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.06795, allocations: 0 / 295.5 MB, free: 9.703 MB / 282.7 MB Notification: Performance of Templates: time 0.0159/0.08385, allocations: 8.167 MB / 303.6 MB, free: 1.566 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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/Lines/LightningLosslessTransmissionLine/LightningLosslessTransmissionLine.csv","/var/lib/jenkins/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: 5.139037323999219]