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.001511/0.001511, allocations: 114.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001776/0.001776, allocations: 210.8 kB / 19.42 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.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 59.91 kB / 359.4 MB, free: 13.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2626, allocations: 50.54 MB / 409.9 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003741/0.2663, allocations: 2.726 MB / 412.7 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2675, allocations: 0.7089 MB / 413.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.2676, allocations: 4 kB / 413.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.2678, allocations: 43.56 kB / 413.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.2679, allocations: 79.28 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2682, allocations: 119.8 kB / 413.6 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003334/0.2686, allocations: 354.6 kB / 414 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.2687, allocations: 84.7 kB / 414.1 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002277/0.269, allocations: 151.5 kB / 414.2 MB, free: 13.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2692, allocations: 159.4 kB / 414.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.845e-05/0.2692, allocations: 36 kB / 414.4 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.2693, allocations: 39.98 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.2694, allocations: 63.81 kB / 414.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.2695, allocations: 147.3 kB / 414.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.2699, allocations: 346.5 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2699, allocations: 0 / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2699, allocations: 0 / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.2699, allocations: 0 / 415 MB, free: 12.62 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.001439/0.2713, allocations: 0.6585 MB / 415.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.2714, allocations: 8.031 kB / 415.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001653/0.2715, allocations: 36.75 kB / 415.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.2719, allocations: 268.8 kB / 415.9 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.2719, allocations: 16.81 kB / 416 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.2719, allocations: 16.38 kB / 416 MB, free: 11.53 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.2726, allocations: 302.9 kB / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.938e-06/0.2726, allocations: 0 / 416.3 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.2726, allocations: 8 kB / 416.3 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.2726, allocations: 11.98 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007741/0.2734, allocations: 265.5 kB / 416.5 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.275, allocations: 1.062 MB / 417.6 MB, free: 9.801 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00199/0.277, allocations: 450.2 kB / 418.1 MB, free: 9.352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.2774, allocations: 144.8 kB / 418.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.2775, allocations: 0 / 418.2 MB, free: 9.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.2775, allocations: 38.56 kB / 418.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.173e-06/0.2775, allocations: 0 / 418.2 MB, free: 9.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.005126/0.2826, allocations: 1.026 MB / 419.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.2827, allocations: 59.41 kB / 419.3 MB, free: 8.039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.2829, allocations: 217 kB / 419.5 MB, free: 7.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.2829, allocations: 29.7 kB / 419.6 MB, free: 7.785 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.283, allocations: 168.2 kB / 419.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.283, allocations: 43.64 kB / 419.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.272e-05/0.2831, allocations: 41.66 kB / 419.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.2832, allocations: 330.8 kB / 420.1 MB, free: 7.195 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003403/0.2836, allocations: 99.94 kB / 420.2 MB, free: 7.098 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000344/0.2839, allocations: 132.4 kB / 420.4 MB, free: 6.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006612/0.2846, allocations: 229.5 kB / 420.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2846, allocations: 0 / 420.6 MB, free: 6.734 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003018/0.2876, allocations: 0.6299 MB / 421.2 MB, free: 6.098 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.2877, allocations: 8 kB / 421.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.2877, allocations: 0 / 421.2 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007672/0.2884, allocations: 216.7 kB / 421.4 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.2886, allocations: 43.91 kB / 421.5 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006764/0.2954, allocations: 2.743 MB / 424.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/0.2957, allocations: 35.89 kB / 424.2 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.2957, allocations: 11.94 kB / 424.3 MB, free: 2.906 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.0001226/0.2958, allocations: 137.8 kB / 424.4 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.2959, allocations: 15.91 kB / 424.4 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.2959, allocations: 21.83 kB / 424.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.2959, allocations: 0 / 424.4 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.296, allocations: 4 kB / 424.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.673e-05/0.296, allocations: 104.9 kB / 424.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.159e-05/0.2961, allocations: 0 / 424.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.2964, allocations: 43.91 kB / 424.6 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.2964, allocations: 11.92 kB / 424.6 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002422/0.2988, allocations: 0.5989 MB / 425.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001088/0.2999, allocations: 0.5531 MB / 425.7 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003199/0.3003, allocations: 104 kB / 425.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.3004, allocations: 160.5 kB / 426 MB, free: 1.102 MB / 334.1 MB Notification: Performance of Backend: time 6.42e-07/0.3004, allocations: 3.938 kB / 426 MB, free: 1.098 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001521/0.3019, allocations: 420.9 kB / 426.4 MB, free: 0.668 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008771/0.3028, allocations: 0.9448 MB / 427.4 MB, free: 15.67 MB / 350.1 MB Notification: Performance of Templates: time 0.007725/0.3106, allocations: 4.335 MB / 431.7 MB, free: 11.36 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