Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002576/0.002576, allocations: 187.8 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.141/4.141, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001799/0.001799, allocations: 98.78 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006254/0.0006254, allocations: 12 kB / 327 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2033/0.204, allocations: 47.58 MB / 374.5 MB, free: 15.45 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.005616/0.2097, allocations: 2.139 MB / 376.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.2204, allocations: 0.6949 MB / 377.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.2208, allocations: 4 kB / 377.4 MB, free: 12.59 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.2209, allocations: 23.77 kB / 377.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000412/0.2213, allocations: 103.6 kB / 377.5 MB, free: 12.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.2218, allocations: 79.83 kB / 377.6 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009019/0.2227, allocations: 227.5 kB / 377.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003279/0.2231, allocations: 73.14 kB / 377.9 MB, free: 12.09 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003973/0.2235, allocations: 119.6 kB / 378 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.2239, allocations: 131.5 kB / 378.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.472e-05/0.224, allocations: 16 kB / 378.1 MB, free: 11.83 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.514e-05/0.2241, allocations: 16 kB / 378.1 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.2242, allocations: 59.73 kB / 378.2 MB, free: 11.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.2243, allocations: 69.58 kB / 378.3 MB, free: 11.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005117/0.2249, allocations: 247.6 kB / 378.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2249, allocations: 4 kB / 378.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2249, allocations: 0 / 378.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.657e-06/0.2249, allocations: 0 / 378.5 MB, free: 11.44 MB / 282.7 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.01521/0.2402, allocations: 0.6119 MB / 379.1 MB, free: 10.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.2402, allocations: 11.97 kB / 379.1 MB, free: 10.76 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.2404, allocations: 23.72 kB / 379.2 MB, free: 10.74 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008164/0.2412, allocations: 247.5 kB / 379.4 MB, free: 10.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.2413, allocations: 16.39 kB / 379.4 MB, free: 10.44 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.2415, allocations: 24 kB / 379.4 MB, free: 10.41 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001434/0.2429, allocations: 302.6 kB / 379.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.243, allocations: 3.938 kB / 379.7 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.796e-05/0.2431, allocations: 8 kB / 379.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.2431, allocations: 8 kB / 379.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.245, allocations: 289.5 kB / 380 MB, free: 9.801 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01207/0.2571, allocations: 1.077 MB / 381.1 MB, free: 8.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.2617, allocations: 486.3 kB / 381.6 MB, free: 8.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.2618, allocations: 7.953 kB / 381.6 MB, free: 8.152 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.801e-05/0.2619, allocations: 34.56 kB / 381.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 4.459e-06/0.2619, allocations: 0 / 381.6 MB, free: 8.109 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.01953/0.2814, allocations: 1.124 MB / 382.8 MB, free: 6.957 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.498e-05/0.2816, allocations: 55.41 kB / 382.8 MB, free: 6.891 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01264/0.2942, allocations: 209.6 kB / 383 MB, free: 6.672 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.2944, allocations: 33.7 kB / 383.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.2947, allocations: 210.5 kB / 383.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.2949, allocations: 47.3 kB / 383.3 MB, free: 6.379 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.295, allocations: 8 kB / 383.3 MB, free: 6.371 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.2953, allocations: 326.8 kB / 383.6 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008091/0.2961, allocations: 119.8 kB / 383.8 MB, free: 5.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007675/0.2969, allocations: 129.6 kB / 383.9 MB, free: 5.793 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007804/0.2977, allocations: 119.9 kB / 384 MB, free: 5.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.2977, allocations: 0 / 384 MB, free: 5.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.007064/0.3048, allocations: 0.6834 MB / 384.7 MB, free: 4.984 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.3049, allocations: 4 kB / 384.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3049, allocations: 0 / 384.7 MB, free: 4.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001911/0.3068, allocations: 232.7 kB / 384.9 MB, free: 4.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004291/0.3073, allocations: 39.91 kB / 384.9 MB, free: 4.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/0.3234, allocations: 2.681 MB / 387.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006655/0.3242, allocations: 39.88 kB / 387.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.522e-05/0.3242, allocations: 8 kB / 387.7 MB, free: 1.848 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002984/0.3245, allocations: 125.8 kB / 387.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.3247, allocations: 27.7 kB / 387.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.72e-05/0.3248, allocations: 21.53 kB / 387.8 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.3248, allocations: 4.047 kB / 387.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.3248, allocations: 0 / 387.9 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.3249, allocations: 3.984 kB / 387.9 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008529/0.3257, allocations: 329.4 kB / 388.2 MB, free: 1.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.3258, allocations: 11.88 kB / 388.2 MB, free: 1.273 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003859/0.3262, allocations: 31.97 kB / 388.2 MB, free: 1.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/0.3276, allocations: 236.7 kB / 388.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.731e-05/0.3277, allocations: 0 / 388.4 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.392/0.7198, allocations: 2.668 MB / 391.1 MB, free: 19.89 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7198, allocations: 3.781 kB / 391.1 MB, free: 19.89 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009189/0.729, allocations: 0.9064 MB / 392 MB, free: 19.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001473/0.7292, allocations: 95.41 kB / 392.1 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.643e-05/0.7294, allocations: 3.656 kB / 392.1 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008145/0.7302, allocations: 42.08 kB / 392.2 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/0.7303, allocations: 18.14 kB / 392.2 MB, free: 19.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.986e-05/0.7304, allocations: 5.859 kB / 392.2 MB, free: 19.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000322/0.7307, allocations: 154.8 kB / 392.3 MB, free: 19.58 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.7308, allocations: 0 / 392.3 MB, free: 19.58 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001041/0.7318, allocations: 81.31 kB / 392.4 MB, free: 19.58 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002083/0.7321, allocations: 102.9 kB / 392.5 MB, free: 19.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.004066/0.7362, allocations: 473.5 kB / 393 MB, free: 19.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/0.7362, allocations: 7.906 kB / 393 MB, free: 19.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002946/0.7392, allocations: 345.9 kB / 393.3 MB, free: 19.28 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/0.74, allocations: 31.22 kB / 393.4 MB, free: 19.27 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003043/0.743, allocations: 0.7017 MB / 394.1 MB, free: 18.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.7435, allocations: 0.7503 MB / 394.8 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001338/0.7436, allocations: 16.97 kB / 394.8 MB, free: 18.2 MB / 282.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7436, allocations: 0 / 394.8 MB, free: 18.2 MB / 282.7 MB Notification: Performance of Templates: time 0.01728/0.7609, allocations: 3.938 MB / 398.8 MB, free: 17.95 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches