Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 99.59 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002206/0.002206, allocations: 218.7 kB / 24.5 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 258.3 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate") translateModel(Modelica.Electrical.Analog.Examples.NandGate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5059,variableFilter="time|Nand.C4.v|Nand.C7.v",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.411e-05, allocations: 5.516 kB / 378.9 MB, free: 2.516 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.NandGate): time 0.1883/0.1883, allocations: 3.823 MB / 382.8 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.1914, allocations: 1.176 MB / 383.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.1922, allocations: 15.16 kB / 383.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004277/0.1927, allocations: 105.9 kB / 384.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007509/0.1934, allocations: 188 kB / 384.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009261/0.1944, allocations: 338.1 kB / 384.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.1955, allocations: 1.203 MB / 385.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003706/0.1959, allocations: 187 kB / 386 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.1963, allocations: 418 kB / 386.4 MB, free: 11.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1968, allocations: 470.1 kB / 386.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001633/0.197, allocations: 119.3 kB / 386.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.1972, allocations: 118.6 kB / 387.1 MB, free: 11.2 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001216/0.1984, allocations: 1.619 MB / 388.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004253/0.1988, allocations: 0.907 MB / 389.6 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.199, allocations: 65.38 kB / 389.6 MB, free: 9.453 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.509e-05/0.1991, allocations: 27.84 kB / 389.7 MB, free: 9.445 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: 147 (147) * Number of variables: 147 (147) Notification: Performance of [SIM] Bindings: time 0.003228/0.2023, allocations: 3.791 MB / 393.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004765/0.2028, allocations: 0.5426 MB / 394 MB, free: 6.457 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.002161/0.2049, allocations: 2.435 MB / 396.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0008183/0.2057, allocations: 0.5414 MB / 397 MB, free: 4.66 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004297/0.21, allocations: 3.409 MB / 400.4 MB, free: 2.457 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0004781/0.2105, allocations: 406.8 kB / 400.8 MB, free: 2.258 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002009/0.2107, allocations: 244.2 kB / 401 MB, free: 2.086 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0006663/0.2114, allocations: 0.5557 MB / 401.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0006721/0.2121, allocations: 490.2 kB / 402.1 MB, free: 1.406 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.001009/0.2131, allocations: 1.032 MB / 403.1 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.002689/0.2158, allocations: 2.052 MB / 405.1 MB, free: 15.76 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002073/0.2178, allocations: 1.962 MB / 407.1 MB, free: 14.27 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.00213/0.22, allocations: 1.204 MB / 408.3 MB, free: 13.39 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.00272/0.2227, allocations: 2.742 MB / 411 MB, free: 11.29 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 0.0001264/0.2228, allocations: 62.73 kB / 411.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0004566/0.2233, allocations: 490.9 kB / 411.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.004193/0.2275, allocations: 2.833 MB / 414.4 MB, free: 8.676 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 5.854e-05/0.2275, allocations: 76 kB / 414.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.112e-06/0.2275, allocations: 0 / 414.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.933e-05/0.2275, allocations: 4.938 kB / 414.5 MB, free: 8.598 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 3.817e-05/0.2276, allocations: 60 kB / 414.6 MB, free: 8.539 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 3.41e-05/0.2276, allocations: 11.94 kB / 414.6 MB, free: 8.527 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.001892/0.2295, allocations: 1.406 MB / 416 MB, free: 7.109 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008983/0.2304, allocations: 0.6799 MB / 416.7 MB, free: 6.395 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: ......... 12 * 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.T_start, VIN2.signalSource.count, VIN1.signalSource.T_start, VIN1.signalSource.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 43 (43) {$SEV_40, $SEV_39, $SEV_38, $SEV_37, $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 clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 103 (scalar:103, 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 (resizable: 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: ........... 151 (scalar:151, 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 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 9.172e-05/0.2305, allocations: 70.7 kB / 416.7 MB, free: 6.336 MB / 318.1 MB Notification: Performance of SimCode: time 0.003196/0.2337, allocations: 2.689 MB / 419.4 MB, free: 3.586 MB / 318.1 MB Notification: Performance of Templates: time 0.09919/0.3329, allocations: 9.323 MB / 428.7 MB, free: 10.3 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/NandGate/NandGate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.NandGate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.345841537695378]