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.001721/0.001721, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.002129/0.002129, allocations: 214.6 kB / 22.13 MB, free: 0.9414 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.456/1.456, allocations: 230.2 MB / 255.2 MB, free: 15.25 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.001855/0.001855, allocations: 71.88 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09102/0.09288, allocations: 53.32 MB / 427.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003952/0.09683, allocations: 2.744 MB / 430.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001254/0.09808, allocations: 0.709 MB / 431.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001054/0.09819, allocations: 4 kB / 431.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.09834, allocations: 39.58 kB / 431.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.09849, allocations: 87.25 kB / 431.4 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.0988, allocations: 103.8 kB / 431.5 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003871/0.09919, allocations: 366.5 kB / 431.9 MB, free: 452 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.09935, allocations: 64.7 kB / 431.9 MB, free: 380 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.09959, allocations: 147.5 kB / 432.1 MB, free: 232 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002216/0.09981, allocations: 167.3 kB / 432.3 MB, free: 64 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.09986, allocations: 28 kB / 432.3 MB, free: 36 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.344e-05/0.09994, allocations: 36 kB / 432.3 MB, free: 0 / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1808/0.2807, allocations: 65.12 kB / 432.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.2809, allocations: 145.7 kB / 432.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.2814, allocations: 353.6 kB / 432.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2814, allocations: 0 / 432.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2814, allocations: 0.9688 kB / 432.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2814, allocations: 0 / 432.9 MB, free: 8.441 MB / 350.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.001377/0.2828, allocations: 0.65 MB / 433.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.2828, allocations: 10.53 kB / 433.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.283, allocations: 42.22 kB / 433.6 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.2833, allocations: 266 kB / 433.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2834, allocations: 12.38 kB / 433.8 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.31e-05/0.2834, allocations: 22.28 kB / 433.9 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006327/0.284, allocations: 295.7 kB / 434.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.284, allocations: 5 kB / 434.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.932e-05/0.2841, allocations: 9.188 kB / 434.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.2841, allocations: 8.531 kB / 434.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007599/0.2848, allocations: 271.1 kB / 434.4 MB, free: 7.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/0.2862, allocations: 1.069 MB / 435.5 MB, free: 7.113 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.2881, allocations: 434.2 kB / 435.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.2885, allocations: 133.6 kB / 436.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.2885, allocations: 3.875 kB / 436.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2886, allocations: 36.41 kB / 436.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.013e-06/0.2886, allocations: 4 kB / 436.1 MB, free: 7.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004959/0.2935, allocations: 1.019 MB / 437.1 MB, free: 6.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.2935, allocations: 53.28 kB / 437.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.2938, allocations: 219.4 kB / 437.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.2938, allocations: 27.08 kB / 437.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.619e-05/0.2939, allocations: 166 kB / 437.6 MB, free: 6.547 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.978e-05/0.2939, allocations: 44.84 kB / 437.6 MB, free: 6.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.3e-05/0.294, allocations: 45.59 kB / 437.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.263e-05/0.294, allocations: 329.2 kB / 438 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.2944, allocations: 102 kB / 438.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.2947, allocations: 132.1 kB / 438.2 MB, free: 6.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006641/0.2954, allocations: 227.7 kB / 438.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2954, allocations: 0 / 438.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002919/0.2983, allocations: 0.6347 MB / 439.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.2983, allocations: 6.141 kB / 439.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.2983, allocations: 1.062 kB / 439.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007315/0.2991, allocations: 216.8 kB / 439.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001782/0.2993, allocations: 40.16 kB / 439.3 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006362/0.3056, allocations: 2.74 MB / 442.1 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3059, allocations: 34.02 kB / 442.1 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.306, allocations: 14.94 kB / 442.1 MB, free: 4.508 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.0001366/0.3061, allocations: 141.6 kB / 442.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.3062, allocations: 18.53 kB / 442.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.3062, allocations: 24.02 kB / 442.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3062, allocations: 1.5 kB / 442.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3062, allocations: 1.391 kB / 442.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.3062, allocations: 1.109 kB / 442.3 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004547/0.3067, allocations: 336.2 kB / 442.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.3067, allocations: 0.5312 kB / 442.6 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/0.3069, allocations: 29.23 kB / 442.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009507/0.3079, allocations: 219.2 kB / 442.9 MB, free: 4.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.3079, allocations: 7.5 kB / 442.9 MB, free: 4.086 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009136/0.317, allocations: 2.734 MB / 445.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.317, allocations: 1.125 kB / 445.6 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/0.3216, allocations: 0.8383 MB / 446.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3217, allocations: 100.9 kB / 446.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.011e-05/0.3217, allocations: 5.75 kB / 446.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004293/0.3221, allocations: 29.7 kB / 446.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.3222, allocations: 13.41 kB / 446.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.3222, allocations: 5.203 kB / 446.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3224, allocations: 161.6 kB / 446.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3224, allocations: 4 kB / 446.8 MB, free: 1.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000821/0.3232, allocations: 78.33 kB / 446.8 MB, free: 1.77 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.0001457/0.3234, allocations: 105.1 kB / 447 MB, free: 1.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.3255, allocations: 445.2 kB / 447.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3255, allocations: 1.344 kB / 447.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001435/0.3269, allocations: 323.9 kB / 447.7 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005716/0.3275, allocations: 51.77 kB / 447.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.3292, allocations: 0.592 MB / 448.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001896/0.3294, allocations: 0.7404 MB / 449.1 MB, free: 300 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.389e-05/0.3294, allocations: 21.36 kB / 449.1 MB, free: 288 kB / 350.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3294, allocations: 0 / 449.1 MB, free: 288 kB / 350.1 MB Notification: Performance of Templates: time 0.009583/0.339, allocations: 4.143 MB / 453.3 MB, free: 15.5 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.387844044947997]