Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") translateModel(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="PI.y|Time|speed.w",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 115.7 kB / 17.14 MB, free: 5.883 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.0009769/0.0009769, allocations: 198.5 kB / 18.08 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 223.9 MB, free: 12.19 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07959/0.07959, allocations: 12.6 MB / 283.9 MB, free: 15.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.73e-05, allocations: 5.094 kB / 394.7 MB, free: 45.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous): time 0.003213/0.003248, allocations: 1.871 MB / 396.6 MB, free: 44.1 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009022/0.004163, allocations: 499.2 kB / 397.1 MB, free: 43.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.004276, allocations: 1.469 kB / 397.1 MB, free: 43.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.004393, allocations: 13.33 kB / 397.1 MB, free: 43.74 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.994e-05/0.004459, allocations: 24.44 kB / 397.1 MB, free: 43.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.004646, allocations: 29.53 kB / 397.2 MB, free: 43.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.004873, allocations: 120.4 kB / 397.3 MB, free: 43.65 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.005039, allocations: 48.97 kB / 397.3 MB, free: 43.62 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.005117, allocations: 38.08 kB / 397.4 MB, free: 43.61 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.573e-05/0.005211, allocations: 49.25 kB / 397.4 MB, free: 43.58 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.005252, allocations: 12.62 kB / 397.4 MB, free: 43.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.275e-05/0.00528, allocations: 7.219 kB / 397.4 MB, free: 43.57 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001774/0.005463, allocations: 154.3 kB / 397.6 MB, free: 43.47 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.446e-05/0.005523, allocations: 102.6 kB / 397.7 MB, free: 43.4 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.005557, allocations: 16.62 kB / 397.7 MB, free: 43.39 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-05/0.005586, allocations: 6.656 kB / 397.7 MB, free: 43.39 MB / 318.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.0005187/0.00611, allocations: 0.5297 MB / 398.2 MB, free: 42.91 MB / 318.1 MB Notification: Performance of FunctionAlias: time 4.293e-05/0.00616, allocations: 24.72 kB / 398.3 MB, free: 42.89 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0002313/0.006397, allocations: 249 kB / 398.5 MB, free: 42.7 MB / 318.1 MB Notification: Performance of simplify1: time 3.274e-05/0.006435, allocations: 18.12 kB / 398.5 MB, free: 42.7 MB / 318.1 MB Notification: Performance of Alias: time 0.0006851/0.007126, allocations: 476 kB / 399 MB, free: 42.33 MB / 318.1 MB Notification: Performance of simplify2: time 1.808e-05/0.007155, allocations: 10.7 kB / 399 MB, free: 42.33 MB / 318.1 MB Notification: Performance of Events: time 9.288e-05/0.007253, allocations: 29.45 kB / 399 MB, free: 42.31 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001709/0.007432, allocations: 86.88 kB / 399.1 MB, free: 42.24 MB / 318.1 MB Notification: Performance of Partitioning: time 9.542e-05/0.007535, allocations: 64.55 kB / 399.2 MB, free: 42.2 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003694/0.007911, allocations: 276.7 kB / 399.4 MB, free: 42.07 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001397/0.008057, allocations: 161.6 kB / 399.6 MB, free: 41.94 MB / 318.1 MB Notification: Performance of Inline: time 0.0002249/0.008288, allocations: 243.3 kB / 399.8 MB, free: 41.75 MB / 318.1 MB Notification: Performance of Partitioning: time 2.083e-05/0.008315, allocations: 22.38 kB / 399.9 MB, free: 41.73 MB / 318.1 MB Notification: Performance of Cleanup: time 1.355e-05/0.008335, allocations: 11.38 kB / 399.9 MB, free: 41.72 MB / 318.1 MB Notification: Performance of Causalize: time 0.0003673/0.008707, allocations: 352.6 kB / 400.2 MB, free: 41.55 MB / 318.1 MB Notification: Performance of Tearing: time 6.422e-06/0.008724, allocations: 4.062 kB / 400.2 MB, free: 41.54 MB / 318.1 MB Notification: Performance of Initialization: time 2.9e-07/0.008728, allocations: 0 / 400.2 MB, free: 41.54 MB / 318.1 MB Notification: Performance of Tearing: time 9.42e-07/0.008735, allocations: 0 / 400.2 MB, free: 41.54 MB / 318.1 MB Notification: Performance of Categorize: time 7.814e-06/0.008748, allocations: 1.891 kB / 400.2 MB, free: 41.54 MB / 318.1 MB Notification: Performance of Solve: time 0.0001034/0.008856, allocations: 52.83 kB / 400.3 MB, free: 41.53 MB / 318.1 MB Notification: Performance of Jacobian: time 0.0001751/0.009038, allocations: 241.8 kB / 400.5 MB, free: 41.3 MB / 318.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.77e-05/0.009082, allocations: 23.56 kB / 400.5 MB, free: 41.29 MB / 318.1 MB Notification: Performance of SimCode: time 0.0007129/0.0098, allocations: 0.9775 MB / 401.5 MB, free: 40.46 MB / 318.1 MB Notification: Performance of Templates: time 0.003434/0.01325, allocations: 0.6049 MB / 402.1 MB, free: 40.3 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_Synchronous_Modelica_Synchronous.Examples.SimpleControlledDrive.Continuous.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches