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.001896/0.001896, allocations: 85.44 kB / 20.68 MB, free: 1.035 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.00252/0.00252, allocations: 163.6 kB / 23.96 MB, free: 4.164 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.464/1.464, allocations: 177.1 MB / 204.3 MB, free: 9.211 MB / 190.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 1.764e-06/1.764e-06, allocations: 0 / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.982e-05/3.158e-05, allocations: 5.656 kB / 325.1 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004389/0.004421, allocations: 2.567 MB / 327.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.005803, allocations: 0.6878 MB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005933, allocations: 4.188 kB / 328.3 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.0061, allocations: 41.72 kB / 328.4 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.006276, allocations: 90.89 kB / 328.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.006731, allocations: 113.4 kB / 328.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000477/0.007208, allocations: 373.8 kB / 328.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.00741, allocations: 59.52 kB / 329 MB, free: 13.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/0.00782, allocations: 205.5 kB / 329.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.008054, allocations: 129.9 kB / 329.3 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.00811, allocations: 30.56 kB / 329.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.008202, allocations: 32.31 kB / 329.4 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.317e-05/0.008285, allocations: 74.27 kB / 329.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.008429, allocations: 106.7 kB / 329.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005683/0.008997, allocations: 371.5 kB / 329.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.009001, allocations: 0 / 329.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.009002, allocations: 1.031 kB / 329.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.009014, allocations: 0 / 329.9 MB, free: 13.58 MB / 302.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.001608/0.01062, allocations: 0.5745 MB / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.01066, allocations: 10 kB / 330.5 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.01085, allocations: 44.89 kB / 330.6 MB, free: 13.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.01121, allocations: 201.1 kB / 330.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.01125, allocations: 16.91 kB / 330.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.0113, allocations: 17.41 kB / 330.8 MB, free: 12.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.01207, allocations: 355.1 kB / 331.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.01208, allocations: 192 / 331.1 MB, free: 12.67 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.01212, allocations: 14.67 kB / 331.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.01213, allocations: 9.656 kB / 331.2 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008419/0.01297, allocations: 267.8 kB / 331.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.01474, allocations: 0.9228 MB / 332.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.01683, allocations: 422.8 kB / 332.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.01726, allocations: 133.4 kB / 332.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01728, allocations: 5.406 kB / 332.9 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.01731, allocations: 37.16 kB / 332.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.01732, allocations: 0 / 332.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005402/0.02272, allocations: 0.9489 MB / 333.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.02277, allocations: 60.72 kB / 333.9 MB, free: 11.02 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.02301, allocations: 210.7 kB / 334.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.542e-05/0.02305, allocations: 30.58 kB / 334.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001327/0.02319, allocations: 168.9 kB / 334.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.02324, allocations: 49.56 kB / 334.4 MB, free: 10.63 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.02334, allocations: 41.3 kB / 334.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.02352, allocations: 331.2 kB / 334.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.0239, allocations: 104.1 kB / 334.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.0243, allocations: 122.6 kB / 335 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007526/0.02505, allocations: 226.8 kB / 335.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02505, allocations: 0 / 335.2 MB, free: 10.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003201/0.02825, allocations: 0.6326 MB / 335.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.02827, allocations: 5.688 kB / 335.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.02828, allocations: 0 / 335.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007783/0.02905, allocations: 224 kB / 336 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.02923, allocations: 38.92 kB / 336.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007482/0.03672, allocations: 2.59 MB / 338.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.03702, allocations: 39.97 kB / 338.7 MB, free: 7.199 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.45e-05/0.03704, allocations: 7.984 kB / 338.7 MB, free: 7.191 MB / 302.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.0001768/0.03722, allocations: 133 kB / 338.8 MB, free: 7.055 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.03728, allocations: 23.86 kB / 338.9 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.516e-05/0.03733, allocations: 29.39 kB / 338.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.03733, allocations: 0 / 338.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.03734, allocations: 0 / 338.9 MB, free: 7.004 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.03734, allocations: 8 kB / 338.9 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.03769, allocations: 217.2 kB / 339.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.03769, allocations: 0 / 339.1 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.03786, allocations: 27.98 kB / 339.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007383/0.0386, allocations: 216.7 kB / 339.4 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.03863, allocations: 7.984 kB / 339.4 MB, free: 6.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007442/0.04607, allocations: 2.585 MB / 342 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04607, allocations: 0 / 342 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.04978, allocations: 0.8412 MB / 342.8 MB, free: 2.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.569e-05/0.04983, allocations: 23.88 kB / 342.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.04986, allocations: 96 / 342.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003482/0.05021, allocations: 39.97 kB / 342.9 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.885e-05/0.05027, allocations: 15.97 kB / 342.9 MB, free: 2.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-05/0.05029, allocations: 4 kB / 342.9 MB, free: 2.871 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.05045, allocations: 156.6 kB / 343 MB, free: 2.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.05045, allocations: 3.938 kB / 343 MB, free: 2.715 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004957/0.05094, allocations: 79.89 kB / 343.1 MB, free: 2.637 MB / 302.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.0001659/0.05111, allocations: 99.19 kB / 343.2 MB, free: 2.527 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.0528, allocations: 438.4 kB / 343.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.05281, allocations: 0 / 343.6 MB, free: 2.086 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.05399, allocations: 330.5 kB / 344 MB, free: 1.75 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.05436, allocations: 27.92 kB / 344 MB, free: 1.723 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.05574, allocations: 0.5178 MB / 344.5 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.05589, allocations: 129.9 kB / 344.6 MB, free: 1.035 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.919e-05/0.05596, allocations: 21.47 kB / 344.7 MB, free: 1.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.056, allocations: 12.5 kB / 344.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.056, allocations: 0 / 344.7 MB, free: 1.004 MB / 302.1 MB Notification: Performance of Templates: time 0.009558/0.06556, allocations: 4.658 MB / 349.3 MB, free: 12.34 MB / 318.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/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.527359802275896]