Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002221/0.002221, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250.8 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 51.92 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2828, allocations: 52.15 MB / 420.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.005471/0.2883, allocations: 2.732 MB / 423.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.2901, allocations: 0.6778 MB / 424.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.2903, allocations: 4 kB / 424.3 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.2904, allocations: 39.58 kB / 424.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.2907, allocations: 79.27 kB / 424.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003835/0.291, allocations: 99.8 kB / 424.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000435/0.2915, allocations: 366.5 kB / 424.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.2917, allocations: 64.7 kB / 424.9 MB, free: 11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2919, allocations: 139.5 kB / 425.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000215/0.2921, allocations: 163.3 kB / 425.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.215e-05/0.2921, allocations: 32 kB / 425.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.096e-05/0.2922, allocations: 32 kB / 425.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.093e-05/0.2923, allocations: 63.77 kB / 425.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001522/0.2924, allocations: 143.3 kB / 425.5 MB, free: 10.44 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003899/0.2928, allocations: 351.9 kB / 425.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2928, allocations: 0 / 425.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2928, allocations: 4 kB / 425.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.2928, allocations: 0 / 425.8 MB, free: 10.1 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.001602/0.2944, allocations: 0.6429 MB / 426.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.2945, allocations: 8.031 kB / 426.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.2946, allocations: 32.75 kB / 426.5 MB, free: 9.367 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.295, allocations: 272.7 kB / 426.8 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.295, allocations: 12.81 kB / 426.8 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.2951, allocations: 20.38 kB / 426.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.2958, allocations: 302.9 kB / 427.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.2958, allocations: 0 / 427.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.2958, allocations: 8 kB / 427.1 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2958, allocations: 4 kB / 427.1 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007998/0.2966, allocations: 281.4 kB / 427.4 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001825/0.2985, allocations: 1.058 MB / 428.5 MB, free: 7.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.3005, allocations: 426.3 kB / 428.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.3009, allocations: 136.8 kB / 429 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.995e-05/0.3009, allocations: 11.97 kB / 429 MB, free: 6.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.301, allocations: 34.56 kB / 429 MB, free: 6.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.304e-06/0.301, allocations: 0 / 429 MB, free: 6.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.005375/0.3063, allocations: 1.026 MB / 430.1 MB, free: 5.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.264e-05/0.3064, allocations: 51.41 kB / 430.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.3067, allocations: 216.2 kB / 430.3 MB, free: 5.332 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3067, allocations: 25.7 kB / 430.4 MB, free: 5.301 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.3068, allocations: 164.3 kB / 430.5 MB, free: 5.137 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.3069, allocations: 55.52 kB / 430.6 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.307, allocations: 37.69 kB / 430.6 MB, free: 5.039 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3071, allocations: 330.8 kB / 430.9 MB, free: 4.707 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.3075, allocations: 103.9 kB / 431 MB, free: 4.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.3078, allocations: 129.6 kB / 431.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006922/0.3085, allocations: 233.5 kB / 431.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.3085, allocations: 0 / 431.4 MB, free: 4.238 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003079/0.3116, allocations: 0.6299 MB / 432 MB, free: 3.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3116, allocations: 8 kB / 432 MB, free: 3.594 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3116, allocations: 3.938 kB / 432 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007716/0.3124, allocations: 216.6 kB / 432.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001785/0.3126, allocations: 35.92 kB / 432.3 MB, free: 3.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007236/0.3198, allocations: 2.743 MB / 435 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/0.3201, allocations: 39.89 kB / 435.1 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.3201, allocations: 7.984 kB / 435.1 MB, free: 424 kB / 334.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.0001598/0.3203, allocations: 134.3 kB / 435.2 MB, free: 280 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.232e-05/0.3204, allocations: 15.91 kB / 435.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.3204, allocations: 25.59 kB / 435.2 MB, free: 228 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3204, allocations: 4 kB / 435.2 MB, free: 224 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.3204, allocations: 3.984 kB / 435.3 MB, free: 220 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.3204, allocations: 3.938 kB / 435.3 MB, free: 216 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004754/0.3209, allocations: 329.3 kB / 435.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3209, allocations: 0 / 435.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.3211, allocations: 28.02 kB / 435.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007037/0.3218, allocations: 224.6 kB / 435.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.3218, allocations: 7.984 kB / 435.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007009/0.3288, allocations: 2.739 MB / 438.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3288, allocations: 0 / 438.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00344/0.3322, allocations: 0.8468 MB / 439.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.3323, allocations: 93 kB / 439.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.3324, allocations: 8 kB / 439.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.3327, allocations: 32.03 kB / 439.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.3327, allocations: 11.98 kB / 439.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3328, allocations: 7.984 kB / 439.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3329, allocations: 153.9 kB / 439.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3329, allocations: 0 / 439.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004806/0.3334, allocations: 79.89 kB / 439.8 MB, free: 11.45 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.0001504/0.3336, allocations: 103.2 kB / 439.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001727/0.3353, allocations: 454.2 kB / 440.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.3353, allocations: 0 / 440.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3365, allocations: 326.5 kB / 440.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.3369, allocations: 32.64 kB / 440.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3384, allocations: 0.5714 MB / 441.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.3388, allocations: 0.7398 MB / 442 MB, free: 9.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.403e-05/0.3388, allocations: 17.55 kB / 442 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3389, allocations: 15.44 kB / 442 MB, free: 9.117 MB / 350.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3389, allocations: 0 / 442 MB, free: 9.117 MB / 350.1 MB Notification: Performance of Templates: time 0.01001/0.3489, allocations: 5.055 MB / 447.1 MB, free: 4.086 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.631398715078831]