Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00163/0.00163, allocations: 116.1 kB / 21.18 MB, free: 0.5898 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.001775/0.001775, allocations: 209.9 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.457/1.457, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 67.83 kB / 378.7 MB, free: 2.875 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2925, allocations: 53.32 MB / 432.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004299/0.2968, allocations: 2.75 MB / 434.8 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.2982, allocations: 0.7167 MB / 435.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/0.2983, allocations: 4 kB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.2985, allocations: 47.56 kB / 435.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.2986, allocations: 75.28 kB / 435.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003738/0.299, allocations: 111.8 kB / 435.8 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.2995, allocations: 362.5 kB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.2997, allocations: 66.62 kB / 436.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002905/0.2999, allocations: 147.5 kB / 436.3 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.3002, allocations: 163.4 kB / 436.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.671e-05/0.3002, allocations: 28 kB / 436.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.742e-05/0.3003, allocations: 39.98 kB / 436.5 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.293e-05/0.3004, allocations: 63.77 kB / 436.6 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001533/0.3005, allocations: 151.3 kB / 436.8 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004457/0.301, allocations: 350.6 kB / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.301, allocations: 0 / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.301, allocations: 0 / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.301, allocations: 0 / 437.1 MB, free: 2.273 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.00157/0.3026, allocations: 0.6546 MB / 437.8 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3026, allocations: 15.97 kB / 437.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.3028, allocations: 40.75 kB / 437.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/0.3032, allocations: 264.9 kB / 438.1 MB, free: 1.215 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3033, allocations: 16.81 kB / 438.1 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.745e-05/0.3033, allocations: 16.38 kB / 438.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006845/0.304, allocations: 306.9 kB / 438.4 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.304, allocations: 3.938 kB / 438.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/0.304, allocations: 7.984 kB / 438.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.3041, allocations: 8 kB / 438.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008001/0.3049, allocations: 269.6 kB / 438.7 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.3067, allocations: 1.062 MB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.3087, allocations: 426.3 kB / 440.2 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.3091, allocations: 132.8 kB / 440.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.3091, allocations: 11.94 kB / 440.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.324e-05/0.3091, allocations: 38.56 kB / 440.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/0.3091, allocations: 0 / 440.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.005043/0.3142, allocations: 1.021 MB / 441.4 MB, free: 13.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.3142, allocations: 59.34 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.3145, allocations: 213 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/0.3145, allocations: 33.7 kB / 441.7 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.3147, allocations: 168.2 kB / 441.8 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.719e-05/0.3147, allocations: 43.58 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.891e-05/0.3148, allocations: 41.66 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.315, allocations: 330.8 kB / 442.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003652/0.3153, allocations: 103.9 kB / 442.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/0.3157, allocations: 121.6 kB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000691/0.3164, allocations: 233.4 kB / 442.7 MB, free: 12.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3164, allocations: 4 kB / 442.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002877/0.3193, allocations: 0.6255 MB / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.3193, allocations: 8 kB / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.3193, allocations: 0 / 443.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007618/0.3201, allocations: 224.6 kB / 443.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.3202, allocations: 35.97 kB / 443.6 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007186/0.3274, allocations: 2.747 MB / 446.3 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003076/0.3277, allocations: 35.95 kB / 446.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3277, allocations: 12 kB / 446.4 MB, free: 8.57 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.0001791/0.3279, allocations: 137.7 kB / 446.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.328, allocations: 15.91 kB / 446.5 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.311e-05/0.328, allocations: 29.83 kB / 446.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.328, allocations: 4 kB / 446.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.328, allocations: 0 / 446.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3281, allocations: 0 / 446.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.3285, allocations: 333.2 kB / 446.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3285, allocations: 4 kB / 446.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.3286, allocations: 35.97 kB / 446.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006716/0.3293, allocations: 212.7 kB / 447.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.3293, allocations: 4 kB / 447.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006896/0.3362, allocations: 2.732 MB / 449.9 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3362, allocations: 8.094 kB / 449.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003314/0.3395, allocations: 0.8472 MB / 450.7 MB, free: 4.004 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3397, allocations: 100.9 kB / 450.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.3397, allocations: 0 / 450.8 MB, free: 3.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.34, allocations: 31.97 kB / 450.8 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.34, allocations: 16.12 kB / 450.9 MB, free: 3.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3401, allocations: 11.98 kB / 450.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.3402, allocations: 156.5 kB / 451 MB, free: 3.672 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3402, allocations: 3.938 kB / 451 MB, free: 3.668 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.3407, allocations: 83.89 kB / 451.1 MB, free: 3.586 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.0001734/0.3409, allocations: 99.72 kB / 451.2 MB, free: 3.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00164/0.3425, allocations: 450 kB / 451.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3425, allocations: 0 / 451.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001128/0.3437, allocations: 330.5 kB / 452 MB, free: 2.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.3441, allocations: 32.66 kB / 452 MB, free: 2.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.3455, allocations: 0.5896 MB / 452.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.3459, allocations: 0.7437 MB / 453.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.346, allocations: 19.42 kB / 453.3 MB, free: 1.246 MB / 350.1 MB Notification: Performance of SimCode: time 1.092e-06/0.346, allocations: 3.938 kB / 453.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of Templates: time 0.006625/0.3526, allocations: 4.146 MB / 457.5 MB, free: 13.1 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.401455926708877]