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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001012/0.001012, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.192/1.192, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008443/0.0008445, allocations: 111.3 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003198/0.0003198, allocations: 8 kB / 357.9 MB, free: 9.547 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1962, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08293/0.2792, allocations: 79.72 MB / 489.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.2794, allocations: 72.84 kB / 489.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01381/0.2932, allocations: 4.932 MB / 494.1 MB, free: 5.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2932, allocations: 0 / 494.1 MB, free: 5.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.2933, allocations: 4 kB / 494.1 MB, free: 5.906 MB / 362.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.00101/0.2943, allocations: 0.565 MB / 494.7 MB, free: 5.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2943, allocations: 12.03 kB / 494.7 MB, free: 5.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001703/0.2945, allocations: 35.72 kB / 494.7 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2948, allocations: 255.4 kB / 495 MB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.2948, allocations: 12.44 kB / 495 MB, free: 4.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.159e-05/0.2948, allocations: 20 kB / 495 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006211/0.2955, allocations: 310.6 kB / 495.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2955, allocations: 0 / 495.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.2955, allocations: 4 kB / 495.3 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.2955, allocations: 4 kB / 495.3 MB, free: 4.594 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000741/0.2963, allocations: 289.6 kB / 495.6 MB, free: 4.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.2979, allocations: 1.101 MB / 496.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001945/0.2998, allocations: 478.3 kB / 497.2 MB, free: 2.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2999, allocations: 4 kB / 497.2 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.2999, allocations: 34.56 kB / 497.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.2999, allocations: 0 / 497.2 MB, free: 2.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.005345/0.3053, allocations: 1.139 MB / 498.4 MB, free: 1.441 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.3053, allocations: 59.34 kB / 498.4 MB, free: 1.371 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.3055, allocations: 187.4 kB / 498.6 MB, free: 1.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.3055, allocations: 37.7 kB / 498.6 MB, free: 1.137 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.3056, allocations: 164 kB / 498.8 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.734e-05/0.3056, allocations: 43.34 kB / 498.8 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.3057, allocations: 4 kB / 498.8 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.844e-05/0.3057, allocations: 342.7 kB / 499.2 MB, free: 0.582 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.3061, allocations: 111.9 kB / 499.3 MB, free: 484 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.3064, allocations: 133.6 kB / 499.4 MB, free: 344 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.3068, allocations: 115.9 kB / 499.5 MB, free: 228 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3068, allocations: 0 / 499.5 MB, free: 228 kB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003092/0.3099, allocations: 0.6958 MB / 0.4885 GB, free: 15.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3099, allocations: 4 kB / 0.4885 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3099, allocations: 0 / 0.4885 GB, free: 15.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006788/0.3106, allocations: 232.7 kB / 0.4887 GB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.3108, allocations: 39.92 kB / 0.4888 GB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006662/0.3174, allocations: 2.693 MB / 0.4914 GB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.3177, allocations: 43.84 kB / 0.4914 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3177, allocations: 4 kB / 0.4914 GB, free: 12.37 MB / 378.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.0001259/0.3179, allocations: 133.8 kB / 0.4916 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.872e-05/0.3179, allocations: 19.77 kB / 0.4916 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.318, allocations: 25.53 kB / 0.4916 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.318, allocations: 7.938 kB / 0.4916 GB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.318, allocations: 3.984 kB / 0.4916 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.318, allocations: 0 / 0.4916 GB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.3184, allocations: 329.5 kB / 0.4919 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3184, allocations: 3.984 kB / 0.4919 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.3185, allocations: 31.92 kB / 0.492 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006358/0.3192, allocations: 236.6 kB / 0.4922 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.957e-05/0.3192, allocations: 4 kB / 0.4922 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006626/0.3258, allocations: 2.689 MB / 0.4948 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3259, allocations: 0 / 0.4948 GB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00345/0.3293, allocations: 0.9059 MB / 0.4957 GB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.3294, allocations: 100.9 kB / 0.4958 GB, free: 7.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3294, allocations: 4 kB / 0.4958 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.3297, allocations: 39.97 kB / 0.4959 GB, free: 7.613 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.3298, allocations: 12.05 kB / 0.4959 GB, free: 7.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3298, allocations: 4 kB / 0.4959 GB, free: 7.598 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.3299, allocations: 165.5 kB / 0.496 GB, free: 7.438 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3299, allocations: 0 / 0.496 GB, free: 7.438 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004039/0.3303, allocations: 87.75 kB / 0.4961 GB, free: 7.352 MB / 378.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.0001323/0.3305, allocations: 103.2 kB / 0.4962 GB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.332, allocations: 494.3 kB / 0.4967 GB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.332, allocations: 0 / 0.4967 GB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001135/0.3332, allocations: 378 kB / 0.497 GB, free: 6.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.3334, allocations: 27.53 kB / 0.4971 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.3346, allocations: 0.6712 MB / 0.4977 GB, free: 5.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3349, allocations: 0.7479 MB / 0.4985 GB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.251e-05/0.335, allocations: 17.55 kB / 0.4985 GB, free: 4.852 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.335, allocations: 15.44 kB / 0.4985 GB, free: 4.836 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.335, allocations: 0 / 0.4985 GB, free: 4.836 MB / 378.7 MB Notification: Performance of Templates: time 0.006967/0.342, allocations: 4.476 MB / 0.5029 GB, free: 396 kB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches