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.001601/0.001601, allocations: 116.1 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00175/0.00175, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.608/1.608, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001551/0.001551, allocations: 67.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.329, allocations: 50.54 MB / 409.9 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004112/0.3331, allocations: 2.718 MB / 412.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3346, allocations: 0.7051 MB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.3348, allocations: 7.938 kB / 413.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.335, allocations: 47.5 kB / 413.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.3351, allocations: 75.28 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.3355, allocations: 107.8 kB / 413.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004965/0.336, allocations: 362.6 kB / 414 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002859/0.3363, allocations: 88.69 kB / 414 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003634/0.3367, allocations: 143.5 kB / 414.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.337, allocations: 163.3 kB / 414.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.951e-05/0.337, allocations: 28 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001254/0.3372, allocations: 40 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.3372, allocations: 67.73 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001815/0.3374, allocations: 151.3 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.3379, allocations: 355.9 kB / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3379, allocations: 0 / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3379, allocations: 0 / 415 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.776e-06/0.3379, allocations: 0 / 415 MB, free: 12.51 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.001759/0.3397, allocations: 0.6315 MB / 415.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.3397, allocations: 20.02 kB / 415.6 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002312/0.34, allocations: 36.56 kB / 415.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.3405, allocations: 264.7 kB / 415.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.3405, allocations: 16.81 kB / 415.9 MB, free: 11.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.476e-05/0.3406, allocations: 24.38 kB / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007229/0.3413, allocations: 302.9 kB / 416.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3414, allocations: 0 / 416.3 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.3414, allocations: 12 kB / 416.3 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.3414, allocations: 4 kB / 416.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008164/0.3422, allocations: 273.5 kB / 416.5 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.3441, allocations: 1.062 MB / 417.6 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.3462, allocations: 442.2 kB / 418 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004341/0.3466, allocations: 144.7 kB / 418.2 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.3467, allocations: 7.984 kB / 418.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3467, allocations: 30.56 kB / 418.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 2.786e-06/0.3467, allocations: 4 kB / 418.2 MB, free: 9.066 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.005433/0.3522, allocations: 1.022 MB / 419.2 MB, free: 8.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.671e-05/0.3522, allocations: 55.39 kB / 419.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.3526, allocations: 220.9 kB / 419.5 MB, free: 7.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.535e-05/0.3526, allocations: 29.7 kB / 419.5 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3528, allocations: 160.1 kB / 419.7 MB, free: 7.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.3529, allocations: 47.27 kB / 419.7 MB, free: 7.488 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.976e-05/0.353, allocations: 37.7 kB / 419.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.3531, allocations: 330.8 kB / 420.1 MB, free: 7.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/0.3535, allocations: 99.94 kB / 420.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.3539, allocations: 129.6 kB / 420.3 MB, free: 6.883 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.3546, allocations: 228.3 kB / 420.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3546, allocations: 0 / 420.5 MB, free: 6.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003149/0.3577, allocations: 0.6422 MB / 421.2 MB, free: 6.004 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.3578, allocations: 4 kB / 421.2 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.3578, allocations: 4 kB / 421.2 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008674/0.3587, allocations: 216.7 kB / 421.4 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.3589, allocations: 39.97 kB / 421.4 MB, free: 5.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007662/0.3666, allocations: 2.735 MB / 424.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.367, allocations: 39.84 kB / 424.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.367, allocations: 7.984 kB / 424.2 MB, free: 2.824 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.0002162/0.3672, allocations: 137.8 kB / 424.4 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.3673, allocations: 27.66 kB / 424.4 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.196e-05/0.3674, allocations: 25.83 kB / 424.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3674, allocations: 0 / 424.4 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.3674, allocations: 4 kB / 424.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.3675, allocations: 100.8 kB / 424.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.287e-05/0.3675, allocations: 4 kB / 424.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000316/0.3678, allocations: 31.97 kB / 424.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.3679, allocations: 15.92 kB / 424.6 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002547/0.3704, allocations: 0.595 MB / 425.2 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001225/0.3717, allocations: 0.5481 MB / 425.7 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003287/0.372, allocations: 107.6 kB / 425.8 MB, free: 1.184 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001522/0.3722, allocations: 160.5 kB / 426 MB, free: 1.023 MB / 334.1 MB Notification: Performance of Backend: time 5.01e-07/0.3722, allocations: 0 / 426 MB, free: 1.023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001816/0.374, allocations: 428.8 kB / 426.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of SimCode: time 0.00117/0.3752, allocations: 0.9416 MB / 427.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of Templates: time 0.00965/0.3849, allocations: 4.328 MB / 431.7 MB, free: 11.29 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