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.001884/0.001884, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.002264/0.002264, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.536/1.536, allocations: 177 MB / 204.1 MB, free: 9.148 MB / 190.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 1.292e-06/1.292e-06, allocations: 0 / 325 MB, free: 316 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.355e-05, allocations: 5.516 kB / 325 MB, free: 312 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003833/0.003857, allocations: 2.553 MB / 327.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001339/0.005196, allocations: 0.6874 MB / 328.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001255/0.005322, allocations: 7.031 kB / 328.3 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.005473, allocations: 45.94 kB / 328.3 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.005633, allocations: 79.48 kB / 328.4 MB, free: 14 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.006013, allocations: 116.9 kB / 328.5 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.006451, allocations: 373.7 kB / 328.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.006635, allocations: 65.34 kB / 328.9 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003798/0.007014, allocations: 203.6 kB / 329.1 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002585/0.007273, allocations: 130.4 kB / 329.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.752e-05/0.00733, allocations: 30.47 kB / 329.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.257e-05/0.007423, allocations: 33.44 kB / 329.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.578e-05/0.007509, allocations: 69.41 kB / 329.4 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000145/0.007654, allocations: 106.3 kB / 329.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005322/0.008186, allocations: 371.7 kB / 329.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.008189, allocations: 0 / 329.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.00819, allocations: 1.984 kB / 329.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.008201, allocations: 0 / 329.9 MB, free: 13.36 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.001565/0.009767, allocations: 0.5696 MB / 330.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.009808, allocations: 13.61 kB / 330.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.01, allocations: 39.77 kB / 330.5 MB, free: 12.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003944/0.01039, allocations: 210.2 kB / 330.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.01041, allocations: 17.03 kB / 330.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.01047, allocations: 16.12 kB / 330.7 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008038/0.01127, allocations: 355.2 kB / 331.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.01128, allocations: 5.156 kB / 331.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.01132, allocations: 10.56 kB / 331.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.01133, allocations: 8.625 kB / 331.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.0122, allocations: 267.9 kB / 331.4 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.01397, allocations: 0.9198 MB / 332.3 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002048/0.01601, allocations: 430.8 kB / 332.7 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004204/0.01643, allocations: 140.4 kB / 332.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.849e-05/0.01646, allocations: 2.125 kB / 332.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.0165, allocations: 36.8 kB / 332.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.0165, allocations: 0 / 332.9 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005182/0.02168, allocations: 0.9503 MB / 333.8 MB, free: 10.86 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.02173, allocations: 52.94 kB / 333.9 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.02195, allocations: 209.8 kB / 334.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.02199, allocations: 31.14 kB / 334.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.02212, allocations: 164.6 kB / 334.3 MB, free: 10.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.57e-05/0.02217, allocations: 52.86 kB / 334.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.577e-05/0.02227, allocations: 45.58 kB / 334.4 MB, free: 10.37 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.02242, allocations: 331 kB / 334.7 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003857/0.02281, allocations: 104 kB / 334.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.02318, allocations: 122.7 kB / 334.9 MB, free: 9.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008056/0.02398, allocations: 231.8 kB / 335.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.02399, allocations: 0 / 335.1 MB, free: 9.824 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003226/0.02721, allocations: 0.6323 MB / 335.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.02723, allocations: 5.312 kB / 335.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02724, allocations: 0 / 335.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008715/0.02811, allocations: 219.8 kB / 336 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.0283, allocations: 38.91 kB / 336 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007813/0.03611, allocations: 2.579 MB / 338.6 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.03644, allocations: 39.97 kB / 338.6 MB, free: 6.953 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.03647, allocations: 7.984 kB / 338.7 MB, free: 6.945 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.0001932/0.03666, allocations: 133.8 kB / 338.8 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.655e-05/0.03672, allocations: 19.86 kB / 338.8 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.481e-05/0.03677, allocations: 29.39 kB / 338.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.03677, allocations: 0 / 338.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.03678, allocations: 4 kB / 338.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.03678, allocations: 0 / 338.8 MB, free: 6.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.03712, allocations: 217.2 kB / 339 MB, free: 6.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.03712, allocations: 4 kB / 339 MB, free: 6.508 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.03729, allocations: 31.97 kB / 339.1 MB, free: 6.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007112/0.038, allocations: 220.7 kB / 339.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.03802, allocations: 7.938 kB / 339.3 MB, free: 6.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0074/0.04542, allocations: 2.593 MB / 341.9 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.04542, allocations: 3.984 kB / 341.9 MB, free: 3.551 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003517/0.04894, allocations: 0.839 MB / 342.7 MB, free: 2.691 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.04899, allocations: 19.88 kB / 342.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.04902, allocations: 0 / 342.8 MB, free: 2.672 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.04933, allocations: 43.84 kB / 342.8 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.04938, allocations: 11.92 kB / 342.8 MB, free: 2.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.0494, allocations: 19.98 kB / 342.8 MB, free: 2.598 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.04956, allocations: 147.2 kB / 343 MB, free: 2.453 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04956, allocations: 0 / 343 MB, free: 2.453 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004846/0.05004, allocations: 79.89 kB / 343.1 MB, free: 2.375 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.0001467/0.05019, allocations: 99.25 kB / 343.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001705/0.05189, allocations: 438.3 kB / 343.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.0519, allocations: 0 / 343.6 MB, free: 1.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.05303, allocations: 326.6 kB / 343.9 MB, free: 1.492 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.05338, allocations: 31.2 kB / 343.9 MB, free: 1.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.05473, allocations: 0.515 MB / 344.4 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.05488, allocations: 137.8 kB / 344.6 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.05494, allocations: 13.48 kB / 344.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.421e-05/0.05498, allocations: 20.44 kB / 344.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.05498, allocations: 0 / 344.6 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of Templates: time 0.0094/0.06438, allocations: 4.649 MB / 349.3 MB, free: 12.09 MB / 318.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: 4.663208492100239]