Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Clocked.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.phi|load.w|PI.x|PI.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 111.8 kB / 17.75 MB, free: 5.328 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.001168/0.001168, allocations: 185.8 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.854e-05, allocations: 2.281 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.002605/0.002632, allocations: 1.848 MB / 353.8 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006778/0.003325, allocations: 458.8 kB / 354.2 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.363e-05/0.003411, allocations: 4 kB / 354.2 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.198e-05/0.003511, allocations: 15.86 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.003575, allocations: 23.78 kB / 354.2 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.003724, allocations: 27.91 kB / 354.3 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.003894, allocations: 123.5 kB / 354.4 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.004035, allocations: 49.38 kB / 354.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.092e-05/0.004103, allocations: 39.8 kB / 354.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.965e-05/0.004169, allocations: 39.78 kB / 354.5 MB, free: 0.6758 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.729e-05/0.004204, allocations: 15.98 kB / 354.5 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.709e-05/0.004226, allocations: 8 kB / 354.5 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001229/0.004353, allocations: 154.2 kB / 354.7 MB, free: 0.5 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.375e-05/0.004413, allocations: 94.53 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.297e-05/0.004441, allocations: 15.94 kB / 354.8 MB, free: 400 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.81e-05/0.004475, allocations: 15.98 kB / 354.8 MB, free: 384 kB / 286.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.0005137/0.004993, allocations: 0.5346 MB / 355.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.064e-05/0.00503, allocations: 31.88 kB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002031/0.005238, allocations: 228.3 kB / 355.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of simplify1: time 2.979e-05/0.005275, allocations: 23.98 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of Alias: time 0.0007011/0.005981, allocations: 0.5185 MB / 356.2 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simplify2: time 1.474e-05/0.006006, allocations: 15.98 kB / 356.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of Events: time 7.122e-05/0.006083, allocations: 35.78 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001369/0.006227, allocations: 80.2 kB / 356.3 MB, free: 14.68 MB / 302.1 MB Notification: Performance of Partitioning: time 7.716e-05/0.006312, allocations: 56.12 kB / 356.3 MB, free: 14.62 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002187/0.006537, allocations: 192.2 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001375/0.006682, allocations: 164.2 kB / 356.7 MB, free: 14.23 MB / 302.1 MB Notification: Performance of Inline: time 0.0002298/0.006919, allocations: 244.6 kB / 356.9 MB, free: 13.96 MB / 302.1 MB Notification: Performance of Partitioning: time 2.586e-05/0.006953, allocations: 24.06 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Cleanup: time 1.315e-05/0.006971, allocations: 11.98 kB / 357 MB, free: 13.92 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003/0.007276, allocations: 257.3 kB / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Tearing: time 6.211e-06/0.007291, allocations: 0 / 357.2 MB, free: 13.66 MB / 302.1 MB Notification: Performance of Initialization: time 3.41e-07/0.007299, allocations: 4 kB / 357.2 MB, free: 13.65 MB / 302.1 MB Notification: Performance of Tearing: time 3.687e-06/0.007307, allocations: 7.938 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Categorize: time 7.434e-06/0.007319, allocations: 0 / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Solve: time 8.127e-05/0.007404, allocations: 47.95 kB / 357.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001963/0.007609, allocations: 258 kB / 357.5 MB, free: 13.31 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 3.981e-05/0.007655, allocations: 29 kB / 357.5 MB, free: 13.29 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006412/0.008302, allocations: 0.9826 MB / 358.5 MB, free: 12.28 MB / 302.1 MB Notification: Performance of Templates: time 0.002559/0.01087, allocations: 0.6329 MB / 359.2 MB, free: 11.64 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches