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.001288/0.001288, allocations: 108 kB / 18.41 MB, free: 4.535 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.00108/0.00108, allocations: 194.7 kB / 19.35 MB, free: 3.609 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.517/1.517, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.402e-05/2.403e-05, allocations: 2.281 kB / 329.2 MB, free: 3.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.005005/0.005039, allocations: 4.039 MB / 333.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002012/0.007064, allocations: 1.127 MB / 334.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.007285, allocations: 12 kB / 334.3 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.007541, allocations: 94.97 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.007868, allocations: 166.4 kB / 334.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.008424, allocations: 275.7 kB / 334.9 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001031/0.009465, allocations: 1.073 MB / 335.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.009914, allocations: 287 kB / 336.2 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003737/0.0103, allocations: 374.9 kB / 336.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.01074, allocations: 434.4 kB / 337 MB, free: 11.48 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.01088, allocations: 116 kB / 337.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.01103, allocations: 112 kB / 337.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0008522/0.01189, allocations: 1.183 MB / 338.4 MB, free: 10.06 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003649/0.01226, allocations: 0.6542 MB / 339.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001383/0.01241, allocations: 135.6 kB / 339.2 MB, free: 9.262 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0001018/0.01252, allocations: 20 kB / 339.2 MB, free: 9.242 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.003394/0.01592, allocations: 3.61 MB / 342.8 MB, free: 5.484 MB / 286.1 MB Notification: Performance of FunctionAlias: time 0.0001725/0.0161, allocations: 191.7 kB / 343 MB, free: 5.297 MB / 286.1 MB Notification: Performance of Early Inline: time 0.002208/0.01831, allocations: 2.217 MB / 345.2 MB, free: 3.039 MB / 286.1 MB Notification: Performance of simplify1: time 0.0002137/0.01854, allocations: 187.8 kB / 345.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of Alias: time 0.0041/0.02265, allocations: 3.371 MB / 348.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001619/0.02283, allocations: 147.8 kB / 348.9 MB, free: 15.04 MB / 302.1 MB Notification: Performance of Events: time 0.0007414/0.02358, allocations: 0.5115 MB / 349.4 MB, free: 14.52 MB / 302.1 MB Notification: Performance of Detect States: time 0.0007066/0.02429, allocations: 0.6266 MB / 350.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0008103/0.02511, allocations: 0.7386 MB / 350.8 MB, free: 13.05 MB / 302.1 MB Notification: Performance of Causalize: time 0.003402/0.02852, allocations: 2.942 MB / 353.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.001954/0.03049, allocations: 1.866 MB / 355.6 MB, free: 8.129 MB / 302.1 MB Notification: Performance of Inline: time 0.003296/0.0338, allocations: 2.95 MB / 358.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001722/0.03398, allocations: 135.7 kB / 358.7 MB, free: 4.969 MB / 302.1 MB Notification: Performance of Cleanup: time 0.0001521/0.03414, allocations: 151.8 kB / 358.9 MB, free: 4.82 MB / 302.1 MB Notification: Performance of Causalize: time 0.005068/0.03922, allocations: 4.16 MB / 363 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of Tearing: time 1.118e-05/0.03924, allocations: 4 kB / 363 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of Initialization: time 9.92e-07/0.03925, allocations: 0 / 363 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of Tearing: time 1.096e-05/0.03926, allocations: 3.938 kB / 363 MB, free: 0.5938 MB / 302.1 MB Notification: Performance of Categorize: time 3.619e-05/0.03931, allocations: 7.984 kB / 363 MB, free: 0.5859 MB / 302.1 MB Notification: Performance of Solve: time 0.0008202/0.04013, allocations: 451.6 kB / 363.5 MB, free: 140 kB / 302.1 MB Notification: Performance of Jacobian: time 0.001029/0.04117, allocations: 0.9371 MB / 364.4 MB, free: 15.16 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 9.278e-05/0.04128, allocations: 66.17 kB / 364.5 MB, free: 15.09 MB / 318.1 MB Notification: Performance of SimCode: time 0.002717/0.044, allocations: 3.037 MB / 367.5 MB, free: 11.98 MB / 318.1 MB Notification: Performance of Templates: time 0.01252/0.05653, allocations: 7.37 MB / 374.9 MB, free: 4.605 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