Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.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.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 99.95 kB / 18.41 MB, free: 4.68 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.001249/0.001249, allocations: 186.7 kB / 19.35 MB, free: 3.754 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.497/1.497, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.884e-05/2.886e-05, allocations: 6.219 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.00527/0.005307, allocations: 4.042 MB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002414/0.007736, allocations: 1.123 MB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006092/0.008358, allocations: 8 kB / 334.3 MB, free: 14.15 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.008768, allocations: 103 kB / 334.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.009464, allocations: 166.4 kB / 334.6 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007961/0.0103, allocations: 279.7 kB / 334.9 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.01168, allocations: 1.077 MB / 336 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.01216, allocations: 279.1 kB / 336.2 MB, free: 12.25 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000637/0.0128, allocations: 374.9 kB / 336.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006462/0.01346, allocations: 438.4 kB / 337 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002965/0.01376, allocations: 112 kB / 337.1 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003465/0.01411, allocations: 112 kB / 337.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001118/0.01525, allocations: 1.187 MB / 338.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005065/0.01577, allocations: 0.662 MB / 339.1 MB, free: 9.363 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003354/0.01611, allocations: 127.6 kB / 339.2 MB, free: 9.238 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.000142/0.01626, allocations: 23.88 kB / 339.2 MB, free: 9.215 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: 135 (135) * Number of variables: 135 (135) Notification: Performance of Bindings: time 0.003847/0.02011, allocations: 3.603 MB / 342.8 MB, free: 5.465 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.000197/0.02032, allocations: 195.7 kB / 343 MB, free: 5.273 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001928/0.02225, allocations: 2.221 MB / 345.3 MB, free: 3.012 MB / 286.1 MB Notification: Performance of simplify1: time 0.0002366/0.0225, allocations: 191.7 kB / 345.4 MB, free: 2.824 MB / 286.1 MB Notification: Performance of Alias: time 0.00376/0.02627, allocations: 3.371 MB / 348.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001527/0.02645, allocations: 139.8 kB / 348.9 MB, free: 15.01 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005284/0.02699, allocations: 0.5158 MB / 349.5 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Events: time 0.0006607/0.02766, allocations: 0.509 MB / 350 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0007319/0.0284, allocations: 0.7348 MB / 350.7 MB, free: 13.14 MB / 302.1 MB Notification: Performance of Causalize: time 0.003153/0.03156, allocations: 2.95 MB / 353.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.00168/0.03325, allocations: 1.869 MB / 355.5 MB, free: 8.211 MB / 302.1 MB Notification: Performance of Inline: time 0.002769/0.03603, allocations: 2.939 MB / 358.5 MB, free: 5.207 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001484/0.0362, allocations: 131.7 kB / 358.6 MB, free: 5.062 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001228/0.03633, allocations: 155.8 kB / 358.7 MB, free: 4.91 MB / 302.1 MB Notification: Performance of Causalize: time 0.004742/0.04108, allocations: 4.167 MB / 362.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of Tearing: time 1.803e-05/0.04111, allocations: 0 / 362.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of Initialization: time 4.91e-07/0.04112, allocations: 0 / 362.9 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of Tearing: time 1.515e-05/0.04114, allocations: 7.938 kB / 362.9 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of Categorize: time 3.168e-05/0.04117, allocations: 4 kB / 362.9 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of Solve: time 0.0007982/0.04198, allocations: 459.5 kB / 363.4 MB, free: 220 kB / 302.1 MB Notification: Performance of Jacobian: time 0.0009343/0.04292, allocations: 0.9333 MB / 364.3 MB, free: 15.24 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 8 * 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: ............................. 2 (2) {Nand.C4.v, Nand.C7.v} * Number of discrete states: .................... 4 (4) {VIN2.signalSource.count, VIN2.signalSource.T_start, VIN1.signalSource.count, VIN1.signalSource.T_start} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 39 (39) {$SEV_36, $SEV_35, $SEV_34, $SEV_33, $SEV_32, $SEV_31, $SEV_30, $SEV_29, $SEV_28, $SEV_27, $SEV_26, $SEV_25, $SEV_24, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 99 (scalar:99, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 135 (scalar:135, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.884e-05/0.04301, allocations: 62.19 kB / 364.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of SimCode: time 0.002614/0.04563, allocations: 3.064 MB / 367.4 MB, free: 12.05 MB / 318.1 MB Notification: Performance of Templates: time 0.01175/0.05739, allocations: 7.15 MB / 374.6 MB, free: 4.895 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/NandGate/NandGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.NandGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Nand.C4.v,Nand.C7.v Variables in the result:Gnd1.p.v,Gnd4.p.v,Gnd5.p.v,Nand.C4.C,Nand.C4.n.v,Nand.C4.v,Nand.C7.C,Nand.C7.n.v,Nand.C7.v,Nand.Gnd.p.v,Nand.Gnd2.p.v,Nand.Gnd3.p.v,Nand.Gnd6.p.i,Nand.Gnd6.p.v,Nand.Gnd7.p.i,Nand.Gnd7.p.v,Nand.Gnd8.p.i,Nand.Gnd8.p.v,Nand.TN1.B.i,Nand.TN1.B.v,Nand.TN1.Beta,Nand.TN1.G.i,Nand.TN1.K2,Nand.TN1.K5,Nand.TN1.L,Nand.TN1.RDS,Nand.TN1.T,Nand.TN1.T_heatPort,Nand.TN1.Vt,Nand.TN1.W,Nand.TN1.dL,Nand.TN1.dW,Nand.TN2.B.i,Nand.TN2.B.v,Nand.TN2.Beta,Nand.TN2.G.i,Nand.TN2.K2,Nand.TN2.K5,Nand.TN2.L,Nand.TN2.RDS,Nand.TN2.S.v,Nand.TN2.T,Nand.TN2.T_heatPort,Nand.TN2.Vt,Nand.TN2.W,Nand.TN2.dL,Nand.TN2.dW,Nand.TP1.B.i,Nand.TP1.B.v,Nand.TP1.Beta,Nand.TP1.G.i,Nand.TP1.K2,Nand.TP1.K5,Nand.TP1.L,Nand.TP1.RDS,Nand.TP1.T,Nand.TP1.T_heatPort,Nand.TP1.Vt,Nand.TP1.W,Nand.TP1.dL,Nand.TP1.dW,Nand.TP2.B.i,Nand.TP2.B.v,Nand.TP2.Beta,Nand.TP2.G.i,Nand.TP2.K2,Nand.TP2.K5,Nand.TP2.L,Nand.TP2.RDS,Nand.TP2.T,Nand.TP2.T_heatPort,Nand.TP2.Vt,Nand.TP2.W,Nand.TP2.dL,Nand.TP2.dW,Nand.y.i,VDD.V,VDD.duration,VDD.n.v,VDD.offset,VDD.signalSource.duration,VDD.signalSource.height,VDD.signalSource.offset,VDD.signalSource.startTime,VDD.startTime,VIN1.V,VIN1.falling,VIN1.n.v,VIN1.nperiod,VIN1.offset,VIN1.period,VIN1.rising,VIN1.signalSource.T_falling,VIN1.signalSource.T_rising,VIN1.signalSource.T_width,VIN1.signalSource.amplitude,VIN1.signalSource.falling,VIN1.signalSource.nperiod,VIN1.signalSource.offset,VIN1.signalSource.period,VIN1.signalSource.rising,VIN1.signalSource.startTime,VIN1.signalSource.width,VIN1.startTime,VIN1.width,VIN2.V,VIN2.falling,VIN2.n.v,VIN2.nperiod,VIN2.offset,VIN2.period,VIN2.rising,VIN2.signalSource.T_falling,VIN2.signalSource.T_rising,VIN2.signalSource.T_width,VIN2.signalSource.amplitude,VIN2.signalSource.falling,VIN2.signalSource.nperiod,VIN2.signalSource.offset,VIN2.signalSource.period,VIN2.signalSource.rising,VIN2.signalSource.startTime,VIN2.signalSource.width,VIN2.startTime,VIN2.width,time