Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.005033/0.005033, allocations: 105.8 kB / 21.98 MB, free: 5.223 MB / 14.72 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.00153/0.00153, allocations: 210.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 259 MB, free: 8.301 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-beta.om/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.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 64.77 kB / 379.8 MB, free: 2.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3362, allocations: 53.37 MB / 433.2 MB, free: 7.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004384/0.3406, allocations: 2.742 MB / 435.9 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.3422, allocations: 0.7283 MB / 436.7 MB, free: 3.523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.3424, allocations: 4 kB / 436.7 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001775/0.3425, allocations: 43.52 kB / 436.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.3427, allocations: 83.27 kB / 436.8 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003966/0.3431, allocations: 107.8 kB / 436.9 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004461/0.3436, allocations: 358.6 kB / 437.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002059/0.3438, allocations: 68.89 kB / 437.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000303/0.3441, allocations: 143.5 kB / 437.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002502/0.3443, allocations: 167.3 kB / 437.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.3444, allocations: 32 kB / 437.6 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.403e-05/0.3445, allocations: 36 kB / 437.7 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.413e-05/0.3445, allocations: 67.81 kB / 437.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.3447, allocations: 151.2 kB / 437.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004833/0.3452, allocations: 347.9 kB / 438.2 MB, free: 1.945 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3452, allocations: 3.938 kB / 438.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3452, allocations: 0 / 438.2 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.755e-06/0.3452, allocations: 0 / 438.2 MB, free: 1.941 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001546/0.3468, allocations: 0.5859 MB / 438.8 MB, free: 1.328 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3468, allocations: 8.031 kB / 438.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.347, allocations: 36.75 kB / 438.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004318/0.3474, allocations: 207 kB / 439.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.3474, allocations: 16.81 kB / 439.1 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.93e-05/0.3475, allocations: 16.38 kB / 439.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006924/0.3482, allocations: 306.9 kB / 439.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.3482, allocations: 0 / 439.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3482, allocations: 12 kB / 439.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/0.3482, allocations: 4 kB / 439.4 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007984/0.349, allocations: 261.6 kB / 439.7 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001837/0.3509, allocations: 1.039 MB / 440.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001931/0.3528, allocations: 434.2 kB / 441.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000431/0.3532, allocations: 132.8 kB / 441.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.3533, allocations: 0 / 441.3 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.3533, allocations: 34.56 kB / 441.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.412e-06/0.3533, allocations: 0 / 441.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.00499/0.3583, allocations: 0.9509 MB / 442.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.3583, allocations: 59.39 kB / 442.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.3586, allocations: 217 kB / 442.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.3587, allocations: 25.7 kB / 442.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3588, allocations: 168.1 kB / 442.7 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.571e-05/0.3589, allocations: 51.64 kB / 442.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.359, allocations: 37.66 kB / 442.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3591, allocations: 330.8 kB / 443.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003489/0.3595, allocations: 103.9 kB / 443.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.3598, allocations: 124.5 kB / 443.3 MB, free: 12.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.3605, allocations: 229.5 kB / 443.6 MB, free: 12.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.3605, allocations: 7.984 kB / 443.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002947/0.3635, allocations: 0.6334 MB / 444.2 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.3635, allocations: 4 kB / 444.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.3635, allocations: 4 kB / 444.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007504/0.3643, allocations: 216.7 kB / 444.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.3644, allocations: 35.97 kB / 444.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006986/0.3714, allocations: 2.647 MB / 447.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/0.3718, allocations: 31.97 kB / 447.1 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.3718, allocations: 7.984 kB / 447.1 MB, free: 8.68 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.372, allocations: 142.4 kB / 447.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.131e-05/0.372, allocations: 15.91 kB / 447.3 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.3721, allocations: 25.77 kB / 447.3 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3721, allocations: 4 kB / 447.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.3721, allocations: 0 / 447.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.3721, allocations: 0 / 447.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004118/0.3725, allocations: 308.3 kB / 447.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.3725, allocations: 0 / 447.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.3726, allocations: 31.98 kB / 447.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006511/0.3733, allocations: 220.7 kB / 447.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.3733, allocations: 7.984 kB / 447.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006675/0.38, allocations: 2.639 MB / 450.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.38, allocations: 0 / 450.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003312/0.3833, allocations: 0.8502 MB / 451.4 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.761e-05/0.3834, allocations: 27.81 kB / 451.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.3834, allocations: 0 / 451.4 MB, free: 4.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.3837, allocations: 39.97 kB / 451.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.3838, allocations: 7.984 kB / 451.4 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3838, allocations: 4 kB / 451.4 MB, free: 4.184 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.384, allocations: 164.5 kB / 451.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.384, allocations: 0 / 451.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004728/0.3844, allocations: 79.89 kB / 451.7 MB, free: 3.941 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001541/0.3846, allocations: 103.2 kB / 451.8 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001582/0.3862, allocations: 442.3 kB / 452.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3862, allocations: 0 / 452.2 MB, free: 3.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.3873, allocations: 326.6 kB / 452.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.3876, allocations: 36.53 kB / 452.6 MB, free: 3.016 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.3891, allocations: 0.5908 MB / 453.2 MB, free: 2.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.3894, allocations: 0.7437 MB / 453.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.3895, allocations: 15.44 kB / 453.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of SimCode: time 1.593e-06/0.3895, allocations: 0 / 453.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of Templates: time 0.006995/0.3965, allocations: 4.146 MB / 458.1 MB, free: 13.46 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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: 7.578665973152965]