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.001882/0.001882, allocations: 112 kB / 20.43 MB, free: 1.457 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.001809/0.001809, allocations: 180.8 kB / 23.71 MB, free: 4.695 MB / 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.461/1.461, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.002441/0.002441, allocations: 52.05 kB / 370.9 MB, free: 9.355 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3026, allocations: 52.19 MB / 423.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004323/0.307, allocations: 2.733 MB / 425.9 MB, free: 11.95 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001603/0.3086, allocations: 0.6739 MB / 426.5 MB, free: 11.27 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.3087, allocations: 7.938 kB / 426.5 MB, free: 11.26 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.3089, allocations: 39.58 kB / 426.6 MB, free: 11.22 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.3091, allocations: 83.27 kB / 426.7 MB, free: 11.14 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.3094, allocations: 91.8 kB / 426.8 MB, free: 11.05 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004497/0.3099, allocations: 370.5 kB / 427.1 MB, free: 10.69 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002017/0.3101, allocations: 64.89 kB / 427.2 MB, free: 10.62 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002532/0.3103, allocations: 147.5 kB / 427.3 MB, free: 10.48 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.3106, allocations: 155.4 kB / 427.5 MB, free: 10.32 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.787e-05/0.3106, allocations: 32 kB / 427.5 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.3e-05/0.3107, allocations: 32 kB / 427.5 MB, free: 10.26 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.617e-05/0.3108, allocations: 63.77 kB / 427.6 MB, free: 10.2 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001791/0.3109, allocations: 151.3 kB / 427.7 MB, free: 10.05 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000428/0.3114, allocations: 339.9 kB / 428.1 MB, free: 9.723 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3114, allocations: 0 / 428.1 MB, free: 9.723 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.563e-06/0.3114, allocations: 4 kB / 428.1 MB, free: 9.719 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.704e-06/0.3114, allocations: 0 / 428.1 MB, free: 9.719 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.001674/0.3131, allocations: 0.5831 MB / 428.7 MB, free: 9.105 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.3131, allocations: 8.031 kB / 428.7 MB, free: 9.098 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.582e-05/0.3132, allocations: 32.75 kB / 428.7 MB, free: 9.066 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004011/0.3136, allocations: 203 kB / 428.9 MB, free: 8.84 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3136, allocations: 16.81 kB / 428.9 MB, free: 8.824 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.862e-05/0.3137, allocations: 20.38 kB / 428.9 MB, free: 8.805 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.3144, allocations: 298.9 kB / 429.2 MB, free: 8.496 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3144, allocations: 4 kB / 429.2 MB, free: 8.492 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.3145, allocations: 12 kB / 429.2 MB, free: 8.48 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3145, allocations: 11.88 kB / 429.3 MB, free: 8.469 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008553/0.3153, allocations: 261.6 kB / 429.5 MB, free: 8.211 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.3173, allocations: 1.031 MB / 430.5 MB, free: 7.109 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.3194, allocations: 422.3 kB / 431 MB, free: 6.688 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.3198, allocations: 136.8 kB / 431.1 MB, free: 6.551 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3198, allocations: 0 / 431.1 MB, free: 6.551 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.3199, allocations: 38.5 kB / 431.1 MB, free: 6.504 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.443e-06/0.3199, allocations: 0 / 431.1 MB, free: 6.504 MB / 334.1 MB
Notification: Performance of matching and sorting (n=14): time 0.005344/0.3252, allocations: 0.947 MB / 432.1 MB, free: 5.547 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.3253, allocations: 59.41 kB / 432.1 MB, free: 5.477 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002855/0.3255, allocations: 216.2 kB / 432.3 MB, free: 5.254 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.769e-05/0.3256, allocations: 25.7 kB / 432.4 MB, free: 5.223 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.3257, allocations: 164.2 kB / 432.5 MB, free: 5.055 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.918e-05/0.3258, allocations: 51.53 kB / 432.6 MB, free: 5.004 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.3259, allocations: 37.69 kB / 432.6 MB, free: 4.961 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001614/0.326, allocations: 330.8 kB / 432.9 MB, free: 4.629 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003939/0.3264, allocations: 111.9 kB / 433 MB, free: 4.52 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.3268, allocations: 117.6 kB / 433.2 MB, free: 4.398 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000773/0.3276, allocations: 233.5 kB / 433.4 MB, free: 4.164 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3276, allocations: 0 / 433.4 MB, free: 4.164 MB / 334.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.003132/0.3307, allocations: 0.6294 MB / 434 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3308, allocations: 7.938 kB / 434 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3308, allocations: 4 kB / 434 MB, free: 3.516 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008254/0.3316, allocations: 220.6 kB / 434.2 MB, free: 3.297 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.3318, allocations: 35.92 kB / 434.3 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007423/0.3392, allocations: 2.636 MB / 436.9 MB, free: 0.5117 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.3395, allocations: 47.89 kB / 437 MB, free: 476 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.457e-05/0.3396, allocations: 4 kB / 437 MB, free: 472 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.0001656/0.3397, allocations: 129.9 kB / 437.1 MB, free: 332 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.263e-05/0.3398, allocations: 27.88 kB / 437.1 MB, free: 304 kB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.6e-05/0.3398, allocations: 21.47 kB / 437.1 MB, free: 280 kB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3398, allocations: 0 / 437.1 MB, free: 280 kB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3399, allocations: 7.938 kB / 437.2 MB, free: 272 kB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.3399, allocations: 4 kB / 437.2 MB, free: 268 kB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.3403, allocations: 296.4 kB / 437.4 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.3403, allocations: 0 / 437.4 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.3405, allocations: 31.97 kB / 437.5 MB, free: 15.9 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007387/0.3412, allocations: 216.7 kB / 437.7 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.3412, allocations: 8 kB / 437.7 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007475/0.3487, allocations: 2.629 MB / 440.3 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3487, allocations: 0 / 440.3 MB, free: 12.93 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003595/0.3523, allocations: 0.8473 MB / 441.2 MB, free: 12.06 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.171e-05/0.3524, allocations: 23.88 kB / 441.2 MB, free: 12.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.3524, allocations: 4 kB / 441.2 MB, free: 12.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.3527, allocations: 36.03 kB / 441.2 MB, free: 12 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.3528, allocations: 7.984 kB / 441.2 MB, free: 11.99 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.391e-05/0.3528, allocations: 11.98 kB / 441.3 MB, free: 11.98 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.000166/0.353, allocations: 157.6 kB / 441.4 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.353, allocations: 0 / 441.4 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005313/0.3535, allocations: 79.89 kB / 441.5 MB, free: 11.75 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.0001418/0.3536, allocations: 111.2 kB / 441.6 MB, free: 11.63 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001761/0.3554, allocations: 441.6 kB / 442 MB, free: 11.19 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3554, allocations: 8.062 kB / 442 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001232/0.3566, allocations: 326.4 kB / 442.4 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.357, allocations: 43.95 kB / 442.4 MB, free: 10.81 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.3586, allocations: 0.5568 MB / 443 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.359, allocations: 0.7437 MB / 443.7 MB, free: 9.457 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.827e-05/0.3591, allocations: 17.47 kB / 443.7 MB, free: 9.441 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.3592, allocations: 19.44 kB / 443.7 MB, free: 9.422 MB / 350.1 MB
Notification: Performance of SimCode: time 8.52e-07/0.3592, allocations: 0 / 443.7 MB, free: 9.422 MB / 350.1 MB
Notification: Performance of Templates: time 0.01089/0.3701, allocations: 5.093 MB / 448.8 MB, free: 4.348 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.849976731464267]