Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.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.001524/0.001524, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001684/0.001684, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 47.92 kB / 379 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2428, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003979/0.2468, allocations: 2.753 MB / 435.1 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.248, allocations: 0.7205 MB / 435.9 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.2481, allocations: 4 kB / 435.9 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.2483, allocations: 47.52 kB / 435.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001434/0.2484, allocations: 87.25 kB / 436 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.2487, allocations: 107.8 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003953/0.2491, allocations: 358.6 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.2493, allocations: 68.89 kB / 436.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002564/0.2495, allocations: 139.5 kB / 436.7 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.2498, allocations: 175.3 kB / 436.8 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.08e-05/0.2498, allocations: 32 kB / 436.9 MB, free: 2.441 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.673e-05/0.2499, allocations: 35.94 kB / 436.9 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.104e-05/0.25, allocations: 63.81 kB / 437 MB, free: 2.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001449/0.2501, allocations: 151.2 kB / 437.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.2505, allocations: 347.9 kB / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2505, allocations: 0 / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2505, allocations: 0 / 437.5 MB, free: 1.859 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.2505, allocations: 0 / 437.5 MB, free: 1.859 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.00152/0.252, allocations: 0.5871 MB / 438 MB, free: 1.242 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.2521, allocations: 8.031 kB / 438 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.2522, allocations: 36.75 kB / 438.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.2526, allocations: 207 kB / 438.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.2526, allocations: 16.81 kB / 438.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.2527, allocations: 16.38 kB / 438.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006778/0.2533, allocations: 306.9 kB / 438.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.2534, allocations: 0 / 438.6 MB, free: 0.625 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.597e-05/0.2534, allocations: 4 kB / 438.6 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.2534, allocations: 12 kB / 438.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007969/0.2542, allocations: 269.5 kB / 438.9 MB, free: 352 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.2559, allocations: 1.031 MB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001966/0.2579, allocations: 434.2 kB / 440.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003992/0.2583, allocations: 128.8 kB / 440.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.2583, allocations: 8 kB / 440.5 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.2583, allocations: 30.56 kB / 440.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.252e-06/0.2583, allocations: 0 / 440.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005283/0.2636, allocations: 0.9509 MB / 441.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.929e-05/0.2636, allocations: 55.41 kB / 441.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.2639, allocations: 213 kB / 441.7 MB, free: 13.39 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.2639, allocations: 33.7 kB / 441.8 MB, free: 13.35 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.264, allocations: 168.1 kB / 441.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.2641, allocations: 47.64 kB / 442 MB, free: 13.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.2642, allocations: 33.66 kB / 442 MB, free: 13.1 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.2643, allocations: 334.8 kB / 442.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003603/0.2647, allocations: 103.9 kB / 442.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.265, allocations: 121.6 kB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.2657, allocations: 231.9 kB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2657, allocations: 4 kB / 442.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003074/0.2688, allocations: 0.6268 MB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.2688, allocations: 4 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2688, allocations: 3.938 kB / 443.4 MB, free: 11.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007408/0.2695, allocations: 224.7 kB / 443.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.2698, allocations: 39.97 kB / 443.7 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007314/0.2771, allocations: 2.647 MB / 446.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.2774, allocations: 36.03 kB / 446.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.021e-05/0.2774, allocations: 7.984 kB / 446.4 MB, free: 8.59 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.0001704/0.2776, allocations: 137.7 kB / 446.5 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.206e-05/0.2776, allocations: 15.91 kB / 446.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.222e-05/0.2777, allocations: 25.77 kB / 446.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.2777, allocations: 4 kB / 446.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.2777, allocations: 0 / 446.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2777, allocations: 0 / 446.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.2781, allocations: 308.3 kB / 446.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2781, allocations: 4 kB / 446.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.2783, allocations: 27.98 kB / 446.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006695/0.2789, allocations: 216.6 kB / 447.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.235e-05/0.2789, allocations: 8 kB / 447.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006974/0.2859, allocations: 2.639 MB / 449.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2859, allocations: 8.062 kB / 449.7 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003476/0.2894, allocations: 0.8468 MB / 450.6 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.2894, allocations: 23.78 kB / 450.6 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.213e-05/0.2895, allocations: 4 kB / 450.6 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003137/0.2898, allocations: 31.97 kB / 450.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.2898, allocations: 16.05 kB / 450.7 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.12e-05/0.2899, allocations: 3.984 kB / 450.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001549/0.29, allocations: 160.5 kB / 450.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.29, allocations: 0 / 450.8 MB, free: 3.938 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004639/0.2905, allocations: 83.83 kB / 450.9 MB, free: 3.855 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.0001245/0.2906, allocations: 101.9 kB / 451 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.2923, allocations: 445 kB / 451.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2923, allocations: 0 / 451.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.2934, allocations: 326.6 kB / 451.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.2938, allocations: 40.52 kB / 451.8 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.2952, allocations: 0.593 MB / 452.4 MB, free: 2.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2955, allocations: 0.7437 MB / 453.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.527e-05/0.2956, allocations: 15.44 kB / 453.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2956, allocations: 0 / 453.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of Templates: time 0.006848/0.3025, allocations: 4.142 MB / 457.3 MB, free: 13.38 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 6.957155767129734]