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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001668/0.001668, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002277/0.002277, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.26, allocations: 50.54 MB / 409.9 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003512/0.2635, allocations: 2.714 MB / 412.6 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.2648, allocations: 0.7129 MB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.2649, allocations: 4 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.2651, allocations: 51.5 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001283/0.2652, allocations: 71.28 kB / 413.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2655, allocations: 115.7 kB / 413.6 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003392/0.2659, allocations: 358.6 kB / 413.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.2661, allocations: 92.69 kB / 414 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002479/0.2663, allocations: 143.5 kB / 414.2 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002017/0.2665, allocations: 167.3 kB / 414.3 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.134e-05/0.2666, allocations: 28 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-05/0.2667, allocations: 32 kB / 414.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.2667, allocations: 67.81 kB / 414.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.2669, allocations: 151.2 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.2672, allocations: 351.9 kB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.2672, allocations: 4 kB / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2672, allocations: 0 / 415 MB, free: 12.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.2672, allocations: 0 / 415 MB, free: 12.5 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.001371/0.2686, allocations: 0.6393 MB / 415.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2687, allocations: 12.03 kB / 415.6 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001763/0.2688, allocations: 44.55 kB / 415.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.2692, allocations: 256.7 kB / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.2692, allocations: 16.81 kB / 415.9 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.364e-05/0.2692, allocations: 24.38 kB / 415.9 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006302/0.2699, allocations: 302.9 kB / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2699, allocations: 0 / 416.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.2699, allocations: 8 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.2699, allocations: 7.938 kB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007623/0.2707, allocations: 269.6 kB / 416.5 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001579/0.2723, allocations: 1.069 MB / 417.6 MB, free: 9.684 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2742, allocations: 434.3 kB / 418 MB, free: 9.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003956/0.2746, allocations: 152.7 kB / 418.2 MB, free: 9.098 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.2747, allocations: 4 kB / 418.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.2747, allocations: 30.56 kB / 418.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.934e-06/0.2747, allocations: 0 / 418.2 MB, free: 9.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.004812/0.2795, allocations: 1.025 MB / 419.2 MB, free: 8.004 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.2796, allocations: 51.41 kB / 419.3 MB, free: 7.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.2798, allocations: 224.9 kB / 419.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.2799, allocations: 25.7 kB / 419.5 MB, free: 7.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.28, allocations: 164.1 kB / 419.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.686e-05/0.28, allocations: 51.27 kB / 419.7 MB, free: 7.469 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.2801, allocations: 29.7 kB / 419.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.2802, allocations: 334.8 kB / 420.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.2806, allocations: 107.9 kB / 420.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003416/0.2809, allocations: 128.8 kB / 420.3 MB, free: 6.863 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006574/0.2816, allocations: 225.9 kB / 420.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2816, allocations: 0 / 420.5 MB, free: 6.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002829/0.2845, allocations: 0.6367 MB / 421.2 MB, free: 5.992 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.2845, allocations: 4 kB / 421.2 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.2845, allocations: 7.938 kB / 421.2 MB, free: 5.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/0.2852, allocations: 212.7 kB / 421.4 MB, free: 5.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001722/0.2854, allocations: 35.97 kB / 421.4 MB, free: 5.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006745/0.2922, allocations: 2.739 MB / 424.2 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.2925, allocations: 39.84 kB / 424.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.2925, allocations: 4 kB / 424.2 MB, free: 2.816 MB / 334.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.0001637/0.2927, allocations: 137.7 kB / 424.3 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.93e-05/0.2928, allocations: 27.66 kB / 424.4 MB, free: 2.645 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.581e-05/0.2928, allocations: 25.91 kB / 424.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2929, allocations: 4 kB / 424.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2929, allocations: 8.031 kB / 424.4 MB, free: 2.605 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2929, allocations: 7.969 kB / 424.4 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.2932, allocations: 325.3 kB / 424.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2933, allocations: 0 / 424.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001537/0.2934, allocations: 27.97 kB / 424.8 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006303/0.2941, allocations: 220.7 kB / 425 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.2941, allocations: 7.984 kB / 425 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006594/0.3007, allocations: 2.731 MB / 427.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3007, allocations: 0 / 427.7 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003209/0.3039, allocations: 0.8394 MB / 428.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/0.304, allocations: 96.89 kB / 428.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.3041, allocations: 4 kB / 428.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.3044, allocations: 32.03 kB / 428.7 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.317e-05/0.3044, allocations: 11.98 kB / 428.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-05/0.3045, allocations: 7.984 kB / 428.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001378/0.3046, allocations: 160.5 kB / 428.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3046, allocations: 0 / 428.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004627/0.3051, allocations: 79.75 kB / 428.9 MB, free: 13.84 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.0001318/0.3052, allocations: 119.2 kB / 429.1 MB, free: 13.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001528/0.3068, allocations: 446.4 kB / 429.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3068, allocations: 3.938 kB / 429.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.3078, allocations: 322.6 kB / 429.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3082, allocations: 46.88 kB / 429.9 MB, free: 12.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.3095, allocations: 0.5825 MB / 430.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.3098, allocations: 0.7437 MB / 431.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.218e-05/0.3099, allocations: 19.42 kB / 431.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3099, allocations: 0 / 431.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Templates: time 0.006299/0.3162, allocations: 4.133 MB / 435.3 MB, free: 7.359 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches