Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 111.8 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001105/0.001105, allocations: 210.8 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.625e-05, allocations: 2.281 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.00317/0.003205, allocations: 1.877 MB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008228/0.004041, allocations: 494.7 kB / 361.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.004148, allocations: 4 kB / 361.7 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.004265, allocations: 15.86 kB / 361.7 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 5.984e-05/0.004332, allocations: 31.72 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.004506, allocations: 23.97 kB / 361.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000182/0.004696, allocations: 115.6 kB / 361.9 MB, free: 10.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.004855, allocations: 45.36 kB / 361.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.004928, allocations: 35.92 kB / 361.9 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.005007, allocations: 43.78 kB / 362 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.005037, allocations: 8 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.891e-05/0.005061, allocations: 8 kB / 362 MB, free: 10.3 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001598/0.005226, allocations: 162.1 kB / 362.1 MB, free: 10.14 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.112e-05/0.005284, allocations: 94.59 kB / 362.2 MB, free: 10.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.005315, allocations: 19.94 kB / 362.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.28e-05/0.005353, allocations: 11.88 kB / 362.3 MB, free: 10.02 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: 21 (21) * Number of variables: 21 (21) Notification: Performance of Bindings: time 0.000561/0.005919, allocations: 0.5346 MB / 362.8 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.232e-05/0.005958, allocations: 23.97 kB / 362.8 MB, free: 9.355 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002138/0.006178, allocations: 244.2 kB / 363.1 MB, free: 9.09 MB / 302.1 MB Notification: Performance of simplify1: time 2.993e-05/0.006216, allocations: 23.92 kB / 363.1 MB, free: 9.066 MB / 302.1 MB Notification: Performance of Alias: time 0.0007099/0.006931, allocations: 0.5031 MB / 363.6 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simplify2: time 1.499e-05/0.00696, allocations: 15.98 kB / 363.6 MB, free: 8.457 MB / 302.1 MB Notification: Performance of Events: time 7.733e-05/0.007043, allocations: 35.86 kB / 363.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001693/0.007219, allocations: 87.48 kB / 363.7 MB, free: 8.324 MB / 302.1 MB Notification: Performance of Partitioning: time 8.138e-05/0.007308, allocations: 60.06 kB / 363.8 MB, free: 8.258 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002319/0.007547, allocations: 192 kB / 364 MB, free: 8.062 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001266/0.007682, allocations: 168.2 kB / 364.1 MB, free: 7.871 MB / 302.1 MB Notification: Performance of Inline: time 0.0002271/0.007916, allocations: 247.9 kB / 364.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of Partitioning: time 2.25e-05/0.007946, allocations: 16.12 kB / 364.4 MB, free: 7.574 MB / 302.1 MB Notification: Performance of Cleanup: time 1.664e-05/0.007967, allocations: 11.98 kB / 364.4 MB, free: 7.562 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003078/0.00828, allocations: 256.2 kB / 364.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of Tearing: time 7.664e-06/0.008296, allocations: 0 / 364.7 MB, free: 7.301 MB / 302.1 MB Notification: Performance of Initialization: time 2.8e-07/0.008304, allocations: 7.938 kB / 364.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of Tearing: time 8.21e-07/0.008309, allocations: 0 / 364.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of Categorize: time 7.995e-06/0.008321, allocations: 0.5625 kB / 364.7 MB, free: 7.293 MB / 302.1 MB Notification: Performance of Solve: time 0.0001039/0.00843, allocations: 51.94 kB / 364.7 MB, free: 7.242 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0002082/0.00865, allocations: 250 kB / 365 MB, free: 6.961 MB / 302.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: ......... 0 * 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: ............................. 3 (3) {load.w, load.phi, PI.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (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: ........... 10 (scalar:10, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 13 (scalar:13, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.302e-05/0.00871, allocations: 43.45 kB / 365 MB, free: 6.93 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006922/0.009408, allocations: 0.9824 MB / 366 MB, free: 5.926 MB / 302.1 MB Notification: Performance of Templates: time 0.002775/0.01219, allocations: 0.629 MB / 366.6 MB, free: 5.297 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/SimpleControlledDrive/Continuous/Continuous.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches