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.0009227/0.0009227, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.005411/0.005411, allocations: 163 kB / 24.7 MB, free: 9.426 MB / 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 0.8847/0.8847, allocations: 177.1 MB / 205 MB, free: 5.723 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.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 1.573e-06/1.573e-06, allocations: 0 / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.422e-05, allocations: 5.094 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.002643/0.002667, allocations: 2.56 MB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007643/0.003431, allocations: 0.6933 MB / 329.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.566e-05/0.003517, allocations: 11.94 kB / 329.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.608e-05/0.003613, allocations: 39.62 kB / 329.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.904e-05/0.003712, allocations: 91.14 kB / 329.2 MB, free: 12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.003944, allocations: 111.7 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.004169, allocations: 374.3 kB / 329.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.004292, allocations: 56.91 kB / 329.8 MB, free: 11.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002008/0.004493, allocations: 211.5 kB / 330 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.004609, allocations: 127.6 kB / 330.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.004641, allocations: 28 kB / 330.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.273e-05/0.004704, allocations: 36 kB / 330.2 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.083e-05/0.004744, allocations: 67.78 kB / 330.2 MB, free: 11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.945e-05/0.004814, allocations: 107.7 kB / 330.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.005098, allocations: 370.9 kB / 330.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.005101, allocations: 3.984 kB / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.005101, allocations: 0 / 330.7 MB, free: 10.53 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.005106, allocations: 0 / 330.7 MB, free: 10.53 MB / 298.7 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.0007454/0.005851, allocations: 0.5716 MB / 331.3 MB, free: 9.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.005881, allocations: 8.031 kB / 331.3 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000107/0.005988, allocations: 40.73 kB / 331.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.006201, allocations: 206.2 kB / 331.5 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.006213, allocations: 12.88 kB / 331.5 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.962e-05/0.006242, allocations: 20.38 kB / 331.5 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.006624, allocations: 355.5 kB / 331.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.006636, allocations: 192 / 331.9 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.006656, allocations: 12.36 kB / 331.9 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.006661, allocations: 7.938 kB / 331.9 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003856/0.007047, allocations: 269.8 kB / 332.2 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008682/0.007915, allocations: 0.9193 MB / 333.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008582/0.008773, allocations: 430.3 kB / 333.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001987/0.008972, allocations: 140.7 kB / 333.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.008987, allocations: 0 / 333.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.009005, allocations: 34.56 kB / 333.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 8.91e-07/0.009006, allocations: 0 / 333.7 MB, free: 7.371 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.002129/0.01113, allocations: 0.9544 MB / 334.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.01116, allocations: 55.41 kB / 334.7 MB, free: 6.344 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.01129, allocations: 215.1 kB / 334.9 MB, free: 6.125 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.0113, allocations: 25.7 kB / 334.9 MB, free: 6.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.895e-05/0.01137, allocations: 164.3 kB / 335.1 MB, free: 5.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.0114, allocations: 59.53 kB / 335.2 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.01145, allocations: 33.61 kB / 335.2 MB, free: 5.832 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.01153, allocations: 330.8 kB / 335.5 MB, free: 5.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.0117, allocations: 103.9 kB / 335.6 MB, free: 5.398 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001746/0.01188, allocations: 125.6 kB / 335.7 MB, free: 5.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003302/0.01221, allocations: 228 kB / 336 MB, free: 5.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.01221, allocations: 4 kB / 336 MB, free: 5.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001257/0.01346, allocations: 0.6345 MB / 336.6 MB, free: 4.395 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.01347, allocations: 8 kB / 336.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.01348, allocations: 0 / 336.6 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000374/0.01385, allocations: 216.7 kB / 336.8 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.01393, allocations: 35.97 kB / 336.8 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.0172, allocations: 2.589 MB / 339.4 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.0173, allocations: 31.88 kB / 339.5 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.01731, allocations: 11.98 kB / 339.5 MB, free: 1.398 MB / 298.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 (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 8.301e-05/0.0174, allocations: 129.8 kB / 339.6 MB, free: 1.262 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.742e-05/0.01743, allocations: 19.86 kB / 339.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.315e-05/0.01745, allocations: 33.45 kB / 339.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-06/0.01745, allocations: 0 / 339.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.61e-07/0.01745, allocations: 0 / 339.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.01745, allocations: 0 / 339.7 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.01764, allocations: 225.1 kB / 339.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01764, allocations: 0 / 339.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.01771, allocations: 35.92 kB / 339.9 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003189/0.01803, allocations: 220.6 kB / 340.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.01804, allocations: 4 kB / 340.1 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003066/0.02111, allocations: 2.582 MB / 342.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.02111, allocations: 32 / 342.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.02256, allocations: 0.8434 MB / 343.6 MB, free: 13.15 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.95e-05/0.02258, allocations: 23.88 kB / 343.6 MB, free: 13.13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.0226, allocations: 4 kB / 343.6 MB, free: 13.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.02272, allocations: 35.97 kB / 343.6 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.02274, allocations: 11.98 kB / 343.6 MB, free: 13.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.02275, allocations: 7.984 kB / 343.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.205e-05/0.02284, allocations: 152.6 kB / 343.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.02284, allocations: 3.938 kB / 343.8 MB, free: 12.92 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002627/0.0231, allocations: 75.89 kB / 343.9 MB, free: 12.84 MB / 314.7 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 7.988e-05/0.02318, allocations: 103.2 kB / 344 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.02388, allocations: 438.3 kB / 344.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.02388, allocations: 4.062 kB / 344.4 MB, free: 12.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.02433, allocations: 314.5 kB / 344.7 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.02453, allocations: 34.64 kB / 344.7 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006843/0.02522, allocations: 0.5583 MB / 345.3 MB, free: 11.35 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.02529, allocations: 137.8 kB / 345.4 MB, free: 11.19 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.02533, allocations: 16.5 kB / 345.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02533, allocations: 0 / 345.5 MB, free: 11.18 MB / 314.7 MB Notification: Performance of Templates: time 0.003318/0.02864, allocations: 4.129 MB / 349.6 MB, free: 7.047 MB / 314.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/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: 4.524280622601509]