Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001368/0.001373, allocations: 110.1 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.268/1.268, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.001031, allocations: 48.77 kB / 300.8 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09291/0.09396, allocations: 49.45 MB / 350.2 MB, free: 4.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.00396/0.09796, allocations: 2.733 MB / 353 MB, free: 1.902 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.09928, allocations: 0.6623 MB / 353.6 MB, free: 1.234 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001242/0.09942, allocations: 7.938 kB / 353.6 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.09963, allocations: 35.75 kB / 353.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000136/0.09977, allocations: 63.45 kB / 353.7 MB, free: 1.129 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002888/0.1001, allocations: 91.84 kB / 353.8 MB, free: 1.039 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003867/0.1005, allocations: 362.5 kB / 354.2 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1007, allocations: 84.7 kB / 354.3 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002069/0.1009, allocations: 139.5 kB / 354.4 MB, free: 472 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.1011, allocations: 163.4 kB / 354.6 MB, free: 308 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.076e-05/0.1011, allocations: 28 kB / 354.6 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.98e-05/0.1012, allocations: 32 kB / 354.6 MB, free: 248 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.619e-05/0.1013, allocations: 71.75 kB / 354.7 MB, free: 176 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.1014, allocations: 151.2 kB / 354.8 MB, free: 24 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.1017, allocations: 251.6 kB / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1017, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1017, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.1017, allocations: 0 / 355.1 MB, free: 15.78 MB / 302.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.001472/0.1032, allocations: 0.6393 MB / 355.7 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.1032, allocations: 16.03 kB / 355.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.1033, allocations: 28.56 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1036, allocations: 252.7 kB / 356 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1036, allocations: 12.81 kB / 356 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.501e-05/0.1037, allocations: 24.38 kB / 356 MB, free: 14.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006792/0.1044, allocations: 302.9 kB / 356.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1044, allocations: 3.984 kB / 356.3 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.1044, allocations: 8 kB / 356.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1044, allocations: 4 kB / 356.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000753/0.1052, allocations: 265.6 kB / 356.6 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.1069, allocations: 1.073 MB / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.1089, allocations: 438.3 kB / 358.1 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.1093, allocations: 152.7 kB / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.1094, allocations: 0 / 358.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.457e-05/0.1094, allocations: 42.55 kB / 358.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of pre-optimization done (n=14): time 1.062e-06/0.1094, allocations: 0 / 358.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=14): time 0.005066/0.1145, allocations: 1.022 MB / 359.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.1146, allocations: 59.34 kB / 359.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002348/0.1148, allocations: 220.1 kB / 359.6 MB, free: 11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.1149, allocations: 29.7 kB / 359.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.115, allocations: 164.1 kB / 359.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.115, allocations: 47.25 kB / 359.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.423e-05/0.1151, allocations: 37.7 kB / 359.9 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1153, allocations: 330.8 kB / 360.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004275/0.1158, allocations: 103.9 kB / 360.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.1161, allocations: 128.3 kB / 360.4 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006464/0.1168, allocations: 221.6 kB / 360.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1168, allocations: 0 / 360.6 MB, free: 9.922 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002939/0.1197, allocations: 0.6375 MB / 361.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1198, allocations: 8 kB / 361.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1198, allocations: 0 / 361.3 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007779/0.1206, allocations: 224.6 kB / 361.5 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.1207, allocations: 35.97 kB / 361.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00717/0.1279, allocations: 2.75 MB / 364.3 MB, free: 6.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.1283, allocations: 27.88 kB / 364.3 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/0.1283, allocations: 8 kB / 364.3 MB, free: 6.09 MB / 302.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.0001745/0.1285, allocations: 141.7 kB / 364.5 MB, free: 5.941 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/0.1286, allocations: 27.72 kB / 364.5 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.1287, allocations: 21.52 kB / 364.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1287, allocations: 4 kB / 364.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1287, allocations: 0 / 364.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.1287, allocations: 0 / 364.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004223/0.1291, allocations: 325.4 kB / 364.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1291, allocations: 0 / 364.8 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1293, allocations: 31.97 kB / 364.9 MB, free: 5.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006369/0.1299, allocations: 220.7 kB / 365.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.13, allocations: 0 / 365.1 MB, free: 5.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006707/0.1367, allocations: 2.735 MB / 367.8 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.1367, allocations: 3.984 kB / 367.8 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003288/0.14, allocations: 0.8472 MB / 368.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.1401, allocations: 100.9 kB / 368.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.034e-05/0.1402, allocations: 0 / 368.8 MB, free: 1.406 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.1405, allocations: 31.97 kB / 368.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.1406, allocations: 11.98 kB / 368.8 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.1406, allocations: 7.922 kB / 368.8 MB, free: 1.355 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001532/0.1407, allocations: 161.9 kB / 369 MB, free: 1.199 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1408, allocations: 0 / 369 MB, free: 1.199 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004784/0.1412, allocations: 75.84 kB / 369.1 MB, free: 1.125 MB / 302.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.0001354/0.1414, allocations: 107.2 kB / 369.2 MB, free: 1.012 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001605/0.143, allocations: 458.2 kB / 369.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.143, allocations: 0 / 369.6 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.1441, allocations: 330.6 kB / 369.9 MB, free: 220 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.1445, allocations: 24.66 kB / 370 MB, free: 196 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1321/0.2766, allocations: 0.6643 MB / 370.6 MB, free: 25.8 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2769, allocations: 0.748 MB / 371.4 MB, free: 25.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.648e-05/0.2769, allocations: 16.73 kB / 371.4 MB, free: 25.1 MB / 302.1 MB Notification: Performance of SimCode: time 1.183e-06/0.2769, allocations: 0 / 371.4 MB, free: 25.1 MB / 302.1 MB Notification: Performance of Templates: time 0.007253/0.2842, allocations: 4.08 MB / 375.5 MB, free: 24.97 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches