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.001913/0.001913, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002319/0.002319, allocations: 209.9 kB / 24.48 MB, free: 3.934 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.498/1.498, allocations: 230.5 MB / 258.1 MB, free: 7.77 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.002022/0.002022, allocations: 67.89 kB / 379 MB, free: 2.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3202, allocations: 53.4 MB / 432.4 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004055/0.3243, allocations: 2.548 MB / 434.9 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.3255, allocations: 0.6777 MB / 435.6 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3257, allocations: 8 kB / 435.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.3258, allocations: 51.5 kB / 435.7 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.326, allocations: 79.28 kB / 435.8 MB, free: 3.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000343/0.3263, allocations: 111.8 kB / 435.9 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003821/0.3267, allocations: 358.5 kB / 436.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.3268, allocations: 62.86 kB / 436.3 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.3271, allocations: 151.5 kB / 436.4 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.3273, allocations: 139.4 kB / 436.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.3274, allocations: 32 kB / 436.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.3274, allocations: 32 kB / 436.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.3275, allocations: 75.73 kB / 436.7 MB, free: 2.215 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.3276, allocations: 127.4 kB / 436.8 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004009/0.328, allocations: 354.3 kB / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.328, allocations: 0 / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.328, allocations: 0 / 437.2 MB, free: 1.746 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.328, allocations: 0 / 437.2 MB, free: 1.746 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.001431/0.3295, allocations: 0.5754 MB / 437.7 MB, free: 1.141 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3295, allocations: 11.98 kB / 437.8 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000179/0.3297, allocations: 40.73 kB / 437.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.3301, allocations: 203 kB / 438 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.3301, allocations: 16.81 kB / 438 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.356e-05/0.3301, allocations: 16.38 kB / 438 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/0.3308, allocations: 362.3 kB / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3308, allocations: 0 / 438.4 MB, free: 464 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.3309, allocations: 12 kB / 438.4 MB, free: 452 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.3309, allocations: 4 kB / 438.4 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.3316, allocations: 261.6 kB / 438.7 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/0.3332, allocations: 0.9302 MB / 439.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001841/0.3351, allocations: 426.3 kB / 440 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.3355, allocations: 140.7 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.264e-05/0.3355, allocations: 4 kB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.3355, allocations: 34.55 kB / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3355, allocations: 0 / 440.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004715/0.3402, allocations: 0.9539 MB / 441.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.3403, allocations: 55.41 kB / 441.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.3405, allocations: 203.2 kB / 441.4 MB, free: 13.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.3405, allocations: 29.7 kB / 441.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.3406, allocations: 168.3 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.327e-05/0.3407, allocations: 59.52 kB / 441.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.3408, allocations: 37.69 kB / 441.7 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3409, allocations: 326.8 kB / 442 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003502/0.3413, allocations: 103.9 kB / 442.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003401/0.3416, allocations: 121.7 kB / 442.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006597/0.3423, allocations: 236.1 kB / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.3423, allocations: 0 / 442.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002786/0.3451, allocations: 0.6268 MB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3451, allocations: 8 kB / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3451, allocations: 0 / 443.1 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007444/0.3458, allocations: 220.7 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.346, allocations: 35.97 kB / 443.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006648/0.3527, allocations: 2.591 MB / 445.9 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002867/0.3529, allocations: 31.86 kB / 445.9 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.353, allocations: 8 kB / 446 MB, free: 8.621 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.0001896/0.3532, allocations: 137.7 kB / 446.1 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.3532, allocations: 23.8 kB / 446.1 MB, free: 8.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.467e-05/0.3533, allocations: 29.52 kB / 446.1 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.3533, allocations: 4 kB / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.3533, allocations: 0 / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3533, allocations: 0 / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.3536, allocations: 225.1 kB / 446.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.3536, allocations: 0 / 446.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.3538, allocations: 27.97 kB / 446.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000649/0.3544, allocations: 224.6 kB / 446.6 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.3544, allocations: 4 kB / 446.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006451/0.3609, allocations: 2.593 MB / 449.2 MB, free: 5.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3609, allocations: 3.938 kB / 449.2 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003123/0.364, allocations: 0.8318 MB / 450 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.217e-05/0.3641, allocations: 23.77 kB / 450.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.3641, allocations: 8 kB / 450.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.3644, allocations: 35.97 kB / 450.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.3644, allocations: 11.98 kB / 450.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.3644, allocations: 7.984 kB / 450.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001462/0.3646, allocations: 147.2 kB / 450.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3646, allocations: 4 kB / 450.3 MB, free: 4.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.3651, allocations: 75.89 kB / 450.4 MB, free: 4.051 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.0001486/0.3652, allocations: 107.2 kB / 450.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.3667, allocations: 438.3 kB / 450.9 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3667, allocations: 8.062 kB / 450.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001053/0.3678, allocations: 318.5 kB / 451.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3681, allocations: 31.97 kB / 451.2 MB, free: 3.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.3696, allocations: 0.5968 MB / 451.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.3697, allocations: 137.8 kB / 452 MB, free: 2.355 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.217e-05/0.3698, allocations: 15.44 kB / 452 MB, free: 2.34 MB / 350.1 MB Notification: Performance of SimCode: time 6.72e-07/0.3698, allocations: 0 / 452 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Templates: time 0.006964/0.3767, allocations: 4.137 MB / 456.1 MB, free: 14.21 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/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: 7.540388599969447]