Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001897/0.001897, allocations: 105.1 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002421/0.002421, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.711/1.711, allocations: 230.3 MB / 258 MB, free: 8.262 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection")
translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 59.89 kB / 378.8 MB, free: 2.809 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3347, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.007691/0.3424, allocations: 2.75 MB / 434.9 MB, free: 4.32 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00237/0.3448, allocations: 0.7206 MB / 435.6 MB, free: 3.594 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.345, allocations: 8 kB / 435.6 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002516/0.3452, allocations: 43.56 kB / 435.6 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.3455, allocations: 75.28 kB / 435.7 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.3461, allocations: 107.8 kB / 435.8 MB, free: 3.363 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007063/0.3468, allocations: 362.6 kB / 436.2 MB, free: 3.008 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002849/0.3471, allocations: 68.56 kB / 436.2 MB, free: 2.941 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004359/0.3476, allocations: 155.5 kB / 436.4 MB, free: 2.789 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003786/0.3479, allocations: 167.3 kB / 436.6 MB, free: 2.625 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.534e-05/0.348, allocations: 32 kB / 436.6 MB, free: 2.594 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.3482, allocations: 35.94 kB / 436.6 MB, free: 2.559 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.3483, allocations: 63.81 kB / 436.7 MB, free: 2.496 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.3485, allocations: 147.3 kB / 436.8 MB, free: 2.352 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007004/0.3492, allocations: 348.6 kB / 437.2 MB, free: 2.012 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3492, allocations: 0 / 437.2 MB, free: 2.012 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.024e-06/0.3492, allocations: 0 / 437.2 MB, free: 2.012 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 8.255e-06/0.3492, allocations: 0 / 437.2 MB, free: 2.012 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.002488/0.3517, allocations: 0.5832 MB / 437.8 MB, free: 1.398 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.3518, allocations: 12.03 kB / 437.8 MB, free: 1.387 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.3521, allocations: 40.73 kB / 437.8 MB, free: 1.348 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006113/0.3527, allocations: 202.9 kB / 438 MB, free: 1.121 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.052e-05/0.3527, allocations: 16.8 kB / 438 MB, free: 1.105 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.48e-05/0.3528, allocations: 28.38 kB / 438.1 MB, free: 1.078 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.3541, allocations: 294.9 kB / 438.3 MB, free: 0.7773 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.931e-05/0.3541, allocations: 0 / 438.3 MB, free: 0.7773 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.179e-05/0.3541, allocations: 8 kB / 438.3 MB, free: 0.7695 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3542, allocations: 8 kB / 438.4 MB, free: 0.7617 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001597/0.3558, allocations: 277.5 kB / 438.6 MB, free: 500 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003265/0.359, allocations: 1.031 MB / 439.7 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.003508/0.3625, allocations: 426.3 kB / 440.1 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007615/0.3633, allocations: 140.8 kB / 440.2 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.66e-05/0.3633, allocations: 4 kB / 440.2 MB, free: 14.81 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.3634, allocations: 34.56 kB / 440.3 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=14): time 3.116e-06/0.3634, allocations: 0 / 440.3 MB, free: 14.77 MB / 350.1 MB
Notification: Performance of matching and sorting (n=14): time 0.009312/0.3727, allocations: 0.9509 MB / 441.2 MB, free: 13.81 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.3727, allocations: 51.41 kB / 441.3 MB, free: 13.75 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004866/0.3732, allocations: 213 kB / 441.5 MB, free: 13.53 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.896e-05/0.3733, allocations: 37.7 kB / 441.5 MB, free: 13.49 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.3735, allocations: 168.1 kB / 441.7 MB, free: 13.32 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/0.3736, allocations: 43.64 kB / 441.7 MB, free: 13.28 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.3737, allocations: 37.66 kB / 441.7 MB, free: 13.23 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002333/0.374, allocations: 334.8 kB / 442.1 MB, free: 12.9 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006793/0.3747, allocations: 107.9 kB / 442.2 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006991/0.3754, allocations: 121.6 kB / 442.3 MB, free: 12.67 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.3767, allocations: 228 kB / 442.5 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.3768, allocations: 4 kB / 442.5 MB, free: 12.44 MB / 350.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.005589/0.3823, allocations: 0.6268 MB / 443.1 MB, free: 11.8 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/0.3824, allocations: 4 kB / 443.1 MB, free: 11.8 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3824, allocations: 3.938 kB / 443.2 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/0.3838, allocations: 224.7 kB / 443.4 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003312/0.3842, allocations: 35.91 kB / 443.4 MB, free: 11.54 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.3974, allocations: 2.651 MB / 446.1 MB, free: 8.773 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005448/0.398, allocations: 39.98 kB / 446.1 MB, free: 8.734 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.398, allocations: 4 kB / 446.1 MB, free: 8.73 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.0003104/0.3983, allocations: 129.8 kB / 446.2 MB, free: 8.594 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.3985, allocations: 19.91 kB / 446.2 MB, free: 8.574 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.3986, allocations: 25.77 kB / 446.3 MB, free: 8.547 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3986, allocations: 0 / 446.3 MB, free: 8.547 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.3986, allocations: 0 / 446.3 MB, free: 8.547 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.3986, allocations: 4 kB / 446.3 MB, free: 8.543 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008068/0.3994, allocations: 308.3 kB / 446.6 MB, free: 8.199 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.3994, allocations: 3.938 kB / 446.6 MB, free: 8.195 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/0.3997, allocations: 31.97 kB / 446.6 MB, free: 8.164 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001335/0.401, allocations: 216.7 kB / 446.8 MB, free: 7.949 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.4011, allocations: 8 kB / 446.8 MB, free: 7.941 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/0.4138, allocations: 2.639 MB / 449.5 MB, free: 5.188 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4138, allocations: 4.062 kB / 449.5 MB, free: 5.184 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.4199, allocations: 0.8469 MB / 450.3 MB, free: 4.32 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.698e-05/0.42, allocations: 23.81 kB / 450.3 MB, free: 4.297 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.066e-05/0.4201, allocations: 8 kB / 450.4 MB, free: 4.289 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004409/0.4205, allocations: 27.97 kB / 450.4 MB, free: 4.262 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.4206, allocations: 16.05 kB / 450.4 MB, free: 4.246 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.4206, allocations: 7.984 kB / 450.4 MB, free: 4.238 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002705/0.4209, allocations: 160.5 kB / 450.6 MB, free: 4.078 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.4209, allocations: 0 / 450.6 MB, free: 4.078 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0007939/0.4217, allocations: 75.89 kB / 450.6 MB, free: 4.004 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.0002039/0.4219, allocations: 103.2 kB / 450.7 MB, free: 3.891 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.002713/0.4246, allocations: 449 kB / 451.2 MB, free: 3.441 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4246, allocations: 0 / 451.2 MB, free: 3.441 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001853/0.4265, allocations: 326.5 kB / 451.5 MB, free: 3.109 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.4271, allocations: 36.59 kB / 451.5 MB, free: 3.074 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.4295, allocations: 0.5617 MB / 452.1 MB, free: 2.484 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/0.4301, allocations: 0.7437 MB / 452.8 MB, free: 1.715 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001181/0.4302, allocations: 13.48 kB / 452.8 MB, free: 1.703 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.631e-05/0.4303, allocations: 15.44 kB / 452.9 MB, free: 1.688 MB / 350.1 MB
Notification: Performance of SimCode: time 9.72e-07/0.4303, allocations: 0 / 452.9 MB, free: 1.688 MB / 350.1 MB
Notification: Performance of Templates: time 0.0161/0.4464, allocations: 5.113 MB / 458 MB, free: 12.6 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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: 5.288129160180688]