Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_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.0013/0.001301, allocations: 104.4 kB / 18.35 MB, free: 4.645 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.001026/0.001026, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.396/1.396, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 47.92 kB / 282.1 MB, free: 2.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09342/0.09461, allocations: 46.63 MB / 328.7 MB, free: 3.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003828/0.09849, allocations: 2.672 MB / 331.4 MB, free: 1.09 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.0997, allocations: 0.6982 MB / 332.1 MB, free: 392 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.09983, allocations: 7.938 kB / 332.1 MB, free: 384 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001492/0.1, allocations: 39.58 kB / 332.1 MB, free: 344 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1001, allocations: 83.27 kB / 332.2 MB, free: 260 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003147/0.1005, allocations: 95.86 kB / 332.3 MB, free: 164 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.1008, allocations: 358.6 kB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.101, allocations: 88.62 kB / 332.8 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.1012, allocations: 143.5 kB / 332.9 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001858/0.1014, allocations: 159.4 kB / 333.1 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.709e-05/0.1015, allocations: 32 kB / 333.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.379e-05/0.1015, allocations: 35.94 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.846e-05/0.1016, allocations: 71.73 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1017, allocations: 143.3 kB / 333.3 MB, free: 15.15 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.1021, allocations: 338.9 kB / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1021, allocations: 0 / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1021, allocations: 3.984 kB / 333.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.1021, allocations: 0 / 333.7 MB, free: 14.82 MB / 286.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.001423/0.1035, allocations: 0.6393 MB / 334.3 MB, free: 14.13 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.1036, allocations: 12.03 kB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.1036, allocations: 28.56 kB / 334.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.104, allocations: 260.7 kB / 334.6 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.104, allocations: 16.81 kB / 334.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.104, allocations: 16.38 kB / 334.6 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000618/0.1047, allocations: 306.9 kB / 334.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1047, allocations: 0 / 334.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.1047, allocations: 8 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1047, allocations: 8 kB / 334.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.1055, allocations: 265.5 kB / 335.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001598/0.1071, allocations: 1.073 MB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.1091, allocations: 438.3 kB / 336.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003809/0.1095, allocations: 144.8 kB / 336.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1095, allocations: 0 / 336.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.1095, allocations: 38.56 kB / 336.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.766e-06/0.1096, allocations: 7.984 kB / 336.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.005089/0.1146, allocations: 1.01 MB / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.1147, allocations: 55.41 kB / 338 MB, free: 10.28 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.1149, allocations: 220.1 kB / 338.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.115, allocations: 25.7 kB / 338.2 MB, free: 10.02 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.1151, allocations: 168.1 kB / 338.4 MB, free: 9.848 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.1151, allocations: 51.27 kB / 338.4 MB, free: 9.797 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-05/0.1152, allocations: 29.7 kB / 338.4 MB, free: 9.762 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1154, allocations: 330.8 kB / 338.8 MB, free: 9.43 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1157, allocations: 111.9 kB / 338.9 MB, free: 9.32 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003552/0.1161, allocations: 125.6 kB / 339 MB, free: 9.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006954/0.1168, allocations: 236.9 kB / 339.2 MB, free: 8.957 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.1168, allocations: 0 / 339.2 MB, free: 8.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002948/0.1198, allocations: 0.6344 MB / 339.9 MB, free: 8.312 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.1198, allocations: 4 kB / 339.9 MB, free: 8.309 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1198, allocations: 3.938 kB / 339.9 MB, free: 8.305 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/0.1206, allocations: 220.7 kB / 340.1 MB, free: 8.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.1208, allocations: 39.91 kB / 340.1 MB, free: 8.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006837/0.1276, allocations: 2.743 MB / 342.9 MB, free: 5.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.1279, allocations: 35.91 kB / 342.9 MB, free: 5.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1279, allocations: 4 kB / 342.9 MB, free: 5.125 MB / 286.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.0001442/0.1281, allocations: 141.8 kB / 343 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.095e-05/0.1281, allocations: 23.72 kB / 343.1 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.84e-05/0.1282, allocations: 25.52 kB / 343.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1282, allocations: 0 / 343.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1282, allocations: 0 / 343.1 MB, free: 4.926 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1282, allocations: 4 kB / 343.1 MB, free: 4.922 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.1286, allocations: 321.4 kB / 343.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1286, allocations: 0 / 343.4 MB, free: 4.559 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/0.1288, allocations: 39.91 kB / 343.5 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006364/0.1294, allocations: 220.7 kB / 343.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.067e-05/0.1294, allocations: 4 kB / 343.7 MB, free: 4.297 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006415/0.1359, allocations: 2.739 MB / 346.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1359, allocations: 0 / 346.4 MB, free: 1.418 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003226/0.1391, allocations: 0.8438 MB / 347.3 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.552e-05/0.1392, allocations: 92.89 kB / 347.3 MB, free: 456 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.1392, allocations: 4 kB / 347.3 MB, free: 452 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003039/0.1395, allocations: 31.97 kB / 347.4 MB, free: 420 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.1396, allocations: 11.98 kB / 347.4 MB, free: 408 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.091e-05/0.1396, allocations: 12.05 kB / 347.4 MB, free: 396 kB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1398, allocations: 157.6 kB / 347.6 MB, free: 240 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1398, allocations: 3.938 kB / 347.6 MB, free: 236 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.00045/0.1402, allocations: 79.84 kB / 347.6 MB, free: 156 kB / 286.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.0001159/0.1403, allocations: 103.2 kB / 347.7 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001577/0.1419, allocations: 462.4 kB / 348.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1419, allocations: 0 / 348.2 MB, free: 15.57 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.143, allocations: 330.5 kB / 348.5 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1434, allocations: 36.59 kB / 348.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.1448, allocations: 0.5524 MB / 349.1 MB, free: 14.63 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.1451, allocations: 0.7476 MB / 349.8 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.762e-05/0.1452, allocations: 9.547 kB / 349.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.1452, allocations: 15.44 kB / 349.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1452, allocations: 0 / 349.9 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Templates: time 0.008595/0.1538, allocations: 4.935 MB / 354.8 MB, free: 8.895 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches