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.001201/0.001201, allocations: 103.5 kB / 18.41 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.001518/0.001519, allocations: 189.3 kB / 19.35 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.513/1.513, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/2.968e-05, allocations: 5.234 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.004274/0.004315, allocations: 2.66 MB / 331.8 MB, free: 0.6562 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.005896, allocations: 0.706 MB / 332.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002597/0.006168, allocations: 4 kB / 332.5 MB, free: 15.94 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002143/0.006389, allocations: 43.52 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002676/0.006664, allocations: 79.33 kB / 332.7 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003881/0.007059, allocations: 99.78 kB / 332.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005626/0.007654, allocations: 398.5 kB / 333.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.007883, allocations: 88.7 kB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.008198, allocations: 147.5 kB / 333.4 MB, free: 15.1 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002552/0.008463, allocations: 159.4 kB / 333.5 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.941e-05/0.008539, allocations: 28 kB / 333.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.804e-05/0.008614, allocations: 32 kB / 333.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000391/0.00901, allocations: 459.2 kB / 334 MB, free: 14.43 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001831/0.009202, allocations: 272 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.00931, allocations: 47.81 kB / 334.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.726e-05/0.009373, allocations: 8 kB / 334.4 MB, free: 14.11 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 (49) * Number of variables: 49 (49) Notification: Performance of Bindings: time 0.001227/0.01061, allocations: 1.326 MB / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0002426/0.01086, allocations: 135 kB / 335.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0007673/0.01163, allocations: 0.7453 MB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of simplify1: time 0.0001243/0.01177, allocations: 91.88 kB / 336.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of Alias: time 0.00166/0.01343, allocations: 1.229 MB / 337.9 MB, free: 10.31 MB / 286.1 MB Notification: Performance of simplify2: time 0.0001038/0.01355, allocations: 59.92 kB / 337.9 MB, free: 10.25 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002482/0.0138, allocations: 175.9 kB / 338.1 MB, free: 10.07 MB / 286.1 MB Notification: Performance of Events: time 0.0002381/0.01405, allocations: 120.7 kB / 338.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002797/0.01434, allocations: 221.4 kB / 338.5 MB, free: 9.707 MB / 286.1 MB Notification: Performance of Causalize: time 0.00103/0.01538, allocations: 0.8289 MB / 339.3 MB, free: 8.855 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005752/0.01596, allocations: 0.6118 MB / 339.9 MB, free: 8.219 MB / 286.1 MB Notification: Performance of Inline: time 0.001038/0.01701, allocations: 0.9767 MB / 340.9 MB, free: 7.203 MB / 286.1 MB Notification: Performance of Partitioning: time 5.809e-05/0.01708, allocations: 46.38 kB / 340.9 MB, free: 7.152 MB / 286.1 MB Notification: Performance of Cleanup: time 8.897e-05/0.01717, allocations: 47.88 kB / 341 MB, free: 7.105 MB / 286.1 MB Notification: Performance of Causalize: time 0.001517/0.0187, allocations: 1.132 MB / 342.1 MB, free: 5.961 MB / 286.1 MB Notification: Performance of Tearing: time 0.0009624/0.01967, allocations: 0.8167 MB / 342.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of Initialization: time 9.21e-07/0.01968, allocations: 0 / 342.9 MB, free: 5.098 MB / 286.1 MB Notification: Performance of Tearing: time 0.0008306/0.02052, allocations: 0.7991 MB / 343.7 MB, free: 4.25 MB / 286.1 MB Notification: Performance of Categorize: time 1.222e-05/0.02054, allocations: 0 / 343.7 MB, free: 4.25 MB / 286.1 MB Notification: Performance of Solve: time 0.0002377/0.02079, allocations: 145.7 kB / 343.9 MB, free: 4.105 MB / 286.1 MB Notification: Performance of Jacobian: time 0.0004837/0.02128, allocations: 477.4 kB / 344.3 MB, free: 3.605 MB / 286.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 2 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 1 (1) {CL.v} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 7 (7) {$SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 5.692e-05/0.02135, allocations: 20.28 kB / 344.3 MB, free: 3.59 MB / 286.1 MB Notification: Performance of SimCode: time 0.001574/0.02293, allocations: 1.719 MB / 346.1 MB, free: 1.852 MB / 286.1 MB Notification: Performance of Templates: time 0.007559/0.0305, allocations: 3.263 MB / 349.3 MB, free: 14.58 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OvervoltageProtection/OvervoltageProtection.csv","/var/lib/jenkins/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