Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") translateModel(Modelica.Blocks.Examples.IntegerNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|multiSwitch1.y|triggeredAdd.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001109/0.001109, allocations: 114.5 kB / 18.41 MB, free: 4.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 212.6 kB / 19.36 MB, free: 3.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.221/1.221, allocations: 227.4 MB / 247.5 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/1.9e-05, allocations: 5.344 kB / 308.3 MB, free: 15.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.00255/0.002583, allocations: 1.825 MB / 310.1 MB, free: 14.16 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009892/0.003584, allocations: 0.6976 MB / 310.8 MB, free: 13.46 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.003674, allocations: 7.938 kB / 310.8 MB, free: 13.45 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.003787, allocations: 27.67 kB / 310.9 MB, free: 13.43 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.003894, allocations: 27.72 kB / 310.9 MB, free: 13.4 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.004156, allocations: 99.7 kB / 311 MB, free: 13.3 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.004384, allocations: 199.4 kB / 311.2 MB, free: 13.11 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.00455, allocations: 82.62 kB / 311.3 MB, free: 13.02 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.004689, allocations: 83.62 kB / 311.3 MB, free: 12.94 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.422e-05/0.004782, allocations: 75.62 kB / 311.4 MB, free: 12.86 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.004812, allocations: 12 kB / 311.4 MB, free: 12.85 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.224e-05/0.00488, allocations: 27.94 kB / 311.5 MB, free: 12.82 MB / 254.1 MB Notification: Performance of combineBinaries: time 0.00018/0.005067, allocations: 288.6 kB / 311.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of replaceArrayConstructors: time 8.807e-05/0.005161, allocations: 185.1 kB / 311.9 MB, free: 12.36 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.0052, allocations: 27.88 kB / 311.9 MB, free: 12.33 MB / 254.1 MB Notification: Performance of FrontEnd: time 2.78e-05/0.005233, allocations: 23.88 kB / 312 MB, free: 12.3 MB / 254.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 (37) * Number of variables: 38 (33) Notification: Performance of Bindings: time 0.0007127/0.005951, allocations: 0.7842 MB / 312.7 MB, free: 11.41 MB / 254.1 MB Notification: Performance of FunctionAlias: time 8.963e-05/0.006048, allocations: 72.97 kB / 312.8 MB, free: 11.34 MB / 254.1 MB Notification: Performance of Early Inline: time 0.0003851/0.00644, allocations: 467.4 kB / 313.3 MB, free: 10.86 MB / 254.1 MB Notification: Performance of simplify1: time 3.251e-05/0.006481, allocations: 39.94 kB / 313.3 MB, free: 10.82 MB / 254.1 MB Notification: Performance of Alias: time 0.0007084/0.007195, allocations: 0.6992 MB / 314 MB, free: 9.984 MB / 254.1 MB Notification: Performance of simplify2: time 2.698e-05/0.007232, allocations: 23.95 kB / 314 MB, free: 9.961 MB / 254.1 MB Notification: Performance of Events: time 0.0001318/0.007369, allocations: 96.91 kB / 314.1 MB, free: 9.867 MB / 254.1 MB Notification: Performance of Detect States: time 0.0001663/0.007544, allocations: 170.6 kB / 314.3 MB, free: 9.688 MB / 254.1 MB Notification: Performance of Partitioning: time 0.0001541/0.007706, allocations: 140.2 kB / 314.4 MB, free: 9.535 MB / 254.1 MB Notification: Performance of Causalize: time 0.0008152/0.008527, allocations: 0.846 MB / 315.3 MB, free: 8.688 MB / 254.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002968/0.008834, allocations: 385.2 kB / 315.7 MB, free: 8.281 MB / 254.1 MB Notification: Performance of Inline: time 0.0005581/0.009398, allocations: 0.6547 MB / 316.3 MB, free: 7.59 MB / 254.1 MB Notification: Performance of Partitioning: time 3.465e-05/0.009444, allocations: 38.3 kB / 316.4 MB, free: 7.543 MB / 254.1 MB Notification: Performance of Cleanup: time 2.682e-05/0.009476, allocations: 27.97 kB / 316.4 MB, free: 7.516 MB / 254.1 MB Notification: Performance of Causalize: time 0.0008619/0.01034, allocations: 1.014 MB / 317.4 MB, free: 6.512 MB / 254.1 MB Notification: Performance of Tearing: time 4.799e-06/0.01036, allocations: 0 / 317.4 MB, free: 6.512 MB / 254.1 MB Notification: Performance of Initialization: time 1.673e-06/0.01036, allocations: 4 kB / 317.4 MB, free: 6.508 MB / 254.1 MB Notification: Performance of Tearing: time 1.292e-06/0.01037, allocations: 0 / 317.4 MB, free: 6.508 MB / 254.1 MB Notification: Performance of Categorize: time 6.422e-06/0.01038, allocations: 0 / 317.4 MB, free: 6.508 MB / 254.1 MB Notification: Performance of Solve: time 0.0001619/0.01054, allocations: 113.5 kB / 317.5 MB, free: 6.398 MB / 254.1 MB Notification: Performance of Jacobian: time 2.736e-06/0.01055, allocations: 0 / 317.5 MB, free: 6.398 MB / 254.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: ............... 0 * 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: ............................. 0 (0) {} * Number of discrete states: .................... 3 (3) {booleanPulse2.pulseStart, booleanPulse1.pulseStart, triggeredAdd.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 27 (22) {sum.u, sum.y, realToInteger.y, integerStep.y, product.u, product.y, booleanPulse1.y, multiSwitch1.expr, multiSwitch1.u, multiSwitch1.y, multiSwitch1.firstActiveIndex, booleanPulse2.y, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 29 (scalar:28, array:1, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 40 (scalar:39, array:1, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.084e-05/0.01061, allocations: 38.86 kB / 317.5 MB, free: 6.367 MB / 254.1 MB Notification: Performance of SimCode: time 0.0008334/0.01145, allocations: 1.262 MB / 318.8 MB, free: 5.066 MB / 254.1 MB Notification: Performance of Templates: time 0.003557/0.01502, allocations: 1.562 MB / 320.4 MB, free: 3.508 MB / 254.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/IntegerNetwork1/IntegerNetwork1.csv","../files/Modelica_trunk_Modelica.Blocks.Examples.IntegerNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches