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.001357/0.001357, allocations: 107.1 kB / 20.44 MB, free: 1.324 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.001446/0.001446, allocations: 208.2 kB / 23.73 MB, free: 4.492 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.548/1.548, allocations: 230.5 MB / 257.4 MB, free: 7.805 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.002188/0.002188, allocations: 75.83 kB / 378.2 MB, free: 2.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2776/0.2798, allocations: 53.4 MB / 431.6 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00438/0.2842, allocations: 2.552 MB / 434.2 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001459/0.2856, allocations: 0.6817 MB / 434.9 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001605/0.2858, allocations: 7.938 kB / 434.9 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001596/0.2859, allocations: 43.58 kB / 434.9 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.2861, allocations: 79.27 kB / 435 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.2865, allocations: 111.8 kB / 435.1 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000435/0.2869, allocations: 358.5 kB / 435.5 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.2871, allocations: 68.55 kB / 435.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.2874, allocations: 143.5 kB / 435.7 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.2876, allocations: 147.4 kB / 435.8 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.2876, allocations: 32 kB / 435.8 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.2877, allocations: 32 kB / 435.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.2878, allocations: 75.69 kB / 435.9 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001444/0.2879, allocations: 123.5 kB / 436.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.2884, allocations: 345.2 kB / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2884, allocations: 0 / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2884, allocations: 0 / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.2884, allocations: 0 / 436.4 MB, free: 1.742 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.001716/0.2902, allocations: 0.5871 MB / 437 MB, free: 1.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.2902, allocations: 11.98 kB / 437 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.2904, allocations: 36.75 kB / 437 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.2909, allocations: 207 kB / 437.2 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.2909, allocations: 12.81 kB / 437.2 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.291, allocations: 20.38 kB / 437.3 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007687/0.2917, allocations: 362.3 kB / 437.6 MB, free: 448 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.2918, allocations: 3.938 kB / 437.6 MB, free: 444 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.2918, allocations: 8 kB / 437.6 MB, free: 436 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/0.2918, allocations: 4 kB / 437.6 MB, free: 432 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.2926, allocations: 277.5 kB / 437.9 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.2945, allocations: 0.9224 MB / 438.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001901/0.2964, allocations: 430.3 kB / 439.3 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004032/0.2968, allocations: 132.8 kB / 439.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.2968, allocations: 4 kB / 439.4 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.2968, allocations: 38.56 kB / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.2968, allocations: 0 / 439.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.004929/0.3018, allocations: 0.9508 MB / 440.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/0.3018, allocations: 55.41 kB / 440.4 MB, free: 13.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.3021, allocations: 203.2 kB / 440.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.3021, allocations: 29.7 kB / 440.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.3022, allocations: 164.3 kB / 440.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.395e-05/0.3023, allocations: 55.52 kB / 440.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.212e-05/0.3024, allocations: 37.7 kB / 440.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3026, allocations: 334.8 kB / 441.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.3029, allocations: 99.94 kB / 441.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.3033, allocations: 125.6 kB / 441.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.304, allocations: 232 kB / 441.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.304, allocations: 0 / 441.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002901/0.3069, allocations: 0.6307 MB / 442.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.3069, allocations: 8 kB / 442.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.3069, allocations: 4 kB / 442.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008275/0.3077, allocations: 212.7 kB / 442.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.3079, allocations: 35.98 kB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/0.3149, allocations: 2.598 MB / 445.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.3152, allocations: 27.95 kB / 445.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.3153, allocations: 7.984 kB / 445.2 MB, free: 8.602 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.0001829/0.3154, allocations: 137.7 kB / 445.3 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.3155, allocations: 27.8 kB / 445.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.804e-05/0.3156, allocations: 29.45 kB / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.3156, allocations: 0 / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.3156, allocations: 0 / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.3156, allocations: 0 / 445.4 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00035/0.3159, allocations: 225.1 kB / 445.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3159, allocations: 0 / 445.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.3161, allocations: 31.98 kB / 445.6 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006655/0.3167, allocations: 224.6 kB / 445.9 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.3168, allocations: 11.92 kB / 445.9 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006867/0.3236, allocations: 2.578 MB / 448.4 MB, free: 5.199 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3236, allocations: 7.969 kB / 448.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.327, allocations: 0.8311 MB / 449.3 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.383e-05/0.3271, allocations: 35.73 kB / 449.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.3271, allocations: 0 / 449.3 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003076/0.3274, allocations: 40.03 kB / 449.4 MB, free: 4.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.779e-05/0.3275, allocations: 11.92 kB / 449.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.3275, allocations: 0 / 449.4 MB, free: 4.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.3276, allocations: 159.2 kB / 449.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 0 / 449.5 MB, free: 4.102 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004974/0.3281, allocations: 79.89 kB / 449.6 MB, free: 4.023 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.0001378/0.3283, allocations: 95.25 kB / 449.7 MB, free: 3.922 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.3299, allocations: 446.3 kB / 450.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3299, allocations: 0 / 450.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.331, allocations: 318.6 kB / 450.4 MB, free: 3.148 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.3314, allocations: 34.56 kB / 450.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.3328, allocations: 0.5721 MB / 451.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.333, allocations: 129.9 kB / 451.2 MB, free: 2.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.525e-05/0.3331, allocations: 13.42 kB / 451.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.357e-05/0.3331, allocations: 19.38 kB / 451.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3331, allocations: 0 / 451.2 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Templates: time 0.01009/0.3432, allocations: 4.936 MB / 456.1 MB, free: 13.4 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: 4.748874394223094]