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.00128/0.00128, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 198 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.91 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4374/0.4386, allocations: 50.54 MB / 409.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004939/0.4436, allocations: 2.726 MB / 412 MB, free: 14.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001903/0.4455, allocations: 0.7051 MB / 412.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003351/0.4459, allocations: 7.938 kB / 412.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.4462, allocations: 47.52 kB / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.4466, allocations: 79.27 kB / 412.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.4471, allocations: 111.8 kB / 412.9 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006025/0.4478, allocations: 354.6 kB / 413.3 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002489/0.448, allocations: 88.69 kB / 413.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004443/0.4485, allocations: 147.5 kB / 413.5 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003318/0.4488, allocations: 167.3 kB / 413.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.307e-05/0.4489, allocations: 32 kB / 413.7 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.449, allocations: 32 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.772e-05/0.4491, allocations: 71.8 kB / 413.8 MB, free: 13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.4493, allocations: 143.3 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004958/0.4498, allocations: 355.9 kB / 414.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.4498, allocations: 0 / 414.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4498, allocations: 0 / 414.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.4498, allocations: 4 kB / 414.3 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.00164/0.4515, allocations: 0.6392 MB / 414.9 MB, free: 11.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4515, allocations: 8.031 kB / 414.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.4518, allocations: 40.55 kB / 415 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000453/0.4522, allocations: 268.7 kB / 415.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.4523, allocations: 16.81 kB / 415.3 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.034e-05/0.4523, allocations: 16.38 kB / 415.3 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006819/0.453, allocations: 302.9 kB / 415.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.453, allocations: 3.984 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.244e-05/0.4531, allocations: 8 kB / 415.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.4531, allocations: 11.94 kB / 415.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.4539, allocations: 269.6 kB / 415.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002192/0.4561, allocations: 1.066 MB / 416.9 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.458, allocations: 434.3 kB / 417.3 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003761/0.4584, allocations: 140.8 kB / 417.5 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.4585, allocations: 4 kB / 417.5 MB, free: 9.117 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.4585, allocations: 46.48 kB / 417.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.853e-06/0.4585, allocations: 0 / 417.5 MB, free: 9.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=14): time 0.004822/0.4633, allocations: 1.01 MB / 418.5 MB, free: 8.023 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.4634, allocations: 51.41 kB / 418.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.4636, allocations: 224.9 kB / 418.8 MB, free: 7.734 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.796e-05/0.4637, allocations: 33.7 kB / 418.8 MB, free: 7.695 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.4638, allocations: 160 kB / 419 MB, free: 7.535 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.4639, allocations: 55.19 kB / 419.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.365e-05/0.464, allocations: 33.7 kB / 419.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4641, allocations: 330.8 kB / 419.4 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003302/0.4644, allocations: 107.9 kB / 419.5 MB, free: 7.004 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003357/0.4648, allocations: 121.6 kB / 419.6 MB, free: 6.879 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.4654, allocations: 225.9 kB / 419.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4654, allocations: 0 / 419.9 MB, free: 6.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002814/0.4683, allocations: 0.645 MB / 420.5 MB, free: 6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.4683, allocations: 4 kB / 420.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.4683, allocations: 0 / 420.5 MB, free: 5.996 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007433/0.4691, allocations: 220.7 kB / 420.7 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.4692, allocations: 39.91 kB / 420.8 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006677/0.4759, allocations: 2.735 MB / 423.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.4763, allocations: 35.83 kB / 423.5 MB, free: 2.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.4763, allocations: 12.05 kB / 423.5 MB, free: 2.82 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.0001951/0.4765, allocations: 129.8 kB / 423.7 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.4766, allocations: 23.66 kB / 423.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.4766, allocations: 29.83 kB / 423.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4766, allocations: 0 / 423.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.4766, allocations: 3.938 kB / 423.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4767, allocations: 0 / 423.7 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004028/0.4771, allocations: 329.3 kB / 424 MB, free: 2.254 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4771, allocations: 8 kB / 424.1 MB, free: 2.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001514/0.4772, allocations: 27.98 kB / 424.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/0.4779, allocations: 224.6 kB / 424.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.4779, allocations: 0 / 424.3 MB, free: 1.996 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006594/0.4845, allocations: 2.735 MB / 427 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4846, allocations: 4.062 kB / 427 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.4878, allocations: 0.8432 MB / 427.9 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.29e-05/0.4879, allocations: 100.9 kB / 428 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.82e-05/0.488, allocations: 0 / 428 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.4883, allocations: 35.97 kB / 428 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.4883, allocations: 12.05 kB / 428 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.4884, allocations: 4 kB / 428 MB, free: 14.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.4885, allocations: 160.5 kB / 428.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4885, allocations: 0 / 428.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005244/0.4891, allocations: 87.69 kB / 428.3 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.0001592/0.4892, allocations: 107.2 kB / 428.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.4908, allocations: 450.4 kB / 428.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4909, allocations: 0 / 428.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.4919, allocations: 337.9 kB / 429.1 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.000398/0.4923, allocations: 34.89 kB / 429.2 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.4937, allocations: 0.5613 MB / 429.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.4941, allocations: 0.7437 MB / 430.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.4942, allocations: 13.55 kB / 430.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.089e-05/0.4942, allocations: 15.44 kB / 430.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4942, allocations: 0 / 430.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Templates: time 0.00938/0.5036, allocations: 5.138 MB / 435.7 MB, free: 6.395 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches