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.001109/0.001109, allocations: 115.7 kB / 17.75 MB, free: 5.297 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.001264/0.001264, allocations: 190 kB / 18.69 MB, free: 4.371 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.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.647e-05/2.648e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.SimpleControlledDrive.Continuous): time 0.003267/0.003303, allocations: 1.844 MB / 353.8 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008895/0.004208, allocations: 462.8 kB / 354.2 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.004338, allocations: 7.938 kB / 354.2 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.004467, allocations: 7.875 kB / 354.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.291e-05/0.004556, allocations: 27.78 kB / 354.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001544/0.004736, allocations: 31.91 kB / 354.3 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.004941, allocations: 119.6 kB / 354.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.005099, allocations: 53.36 kB / 354.4 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.573e-05/0.005191, allocations: 43.78 kB / 354.5 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.523e-05/0.005273, allocations: 43.78 kB / 354.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.0053, allocations: 8 kB / 354.5 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.005326, allocations: 8 kB / 354.5 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001469/0.005479, allocations: 162.1 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 5.664e-05/0.005542, allocations: 94.53 kB / 354.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.005576, allocations: 15.94 kB / 354.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd: time 4.175e-05/0.005623, allocations: 8 kB / 354.8 MB, free: 360 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.0006361/0.006264, allocations: 0.5385 MB / 355.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of FunctionAlias: time 3.276e-05/0.006306, allocations: 19.98 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of Early Inline: time 0.000208/0.006519, allocations: 240.2 kB / 355.6 MB, free: 15.43 MB / 302.1 MB Notification: Performance of simplify1: time 3.123e-05/0.006557, allocations: 23.97 kB / 355.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Alias: time 0.00073/0.007292, allocations: 0.5224 MB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simplify2: time 1.871e-05/0.007321, allocations: 11.98 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001508/0.007478, allocations: 72.16 kB / 356.2 MB, free: 14.7 MB / 302.1 MB Notification: Performance of Events: time 8.195e-05/0.007568, allocations: 31.91 kB / 356.3 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Partitioning: time 7.666e-05/0.007652, allocations: 60.06 kB / 356.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002279/0.007886, allocations: 192.2 kB / 356.5 MB, free: 14.4 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001326/0.008026, allocations: 160.3 kB / 356.7 MB, free: 14.22 MB / 302.1 MB Notification: Performance of Inline: time 0.0002411/0.008273, allocations: 258.2 kB / 356.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Partitioning: time 2.012e-05/0.008303, allocations: 20.06 kB / 356.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of Cleanup: time 1.479e-05/0.008323, allocations: 11.98 kB / 357 MB, free: 13.89 MB / 302.1 MB Notification: Performance of Causalize: time 0.0002989/0.008627, allocations: 248.3 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Tearing: time 1.31e-05/0.008648, allocations: 3.984 kB / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Initialization: time 3.91e-07/0.008654, allocations: 0 / 357.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of Tearing: time 3.016e-06/0.008661, allocations: 3.938 kB / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Categorize: time 7.925e-06/0.008673, allocations: 0 / 357.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of Solve: time 8.867e-05/0.008768, allocations: 51.95 kB / 357.3 MB, free: 13.58 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0001968/0.008973, allocations: 258 kB / 357.5 MB, free: 13.29 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 4.657e-05/0.009026, allocations: 37.38 kB / 357.5 MB, free: 13.26 MB / 302.1 MB Notification: Performance of SimCode: time 0.0006689/0.0097, allocations: 0.983 MB / 358.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of Templates: time 0.002739/0.01245, allocations: 0.6127 MB / 359.1 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