Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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) 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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 115.2 kB / 18.42 MB, free: 4.551 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.001244/0.001244, allocations: 189.5 kB / 19.35 MB, free: 3.625 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.498/1.498, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.614e-05/2.616e-05, allocations: 2.281 kB / 329.1 MB, free: 3.375 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002754/0.002789, allocations: 1.485 MB / 330.6 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.003728, allocations: 0.5507 MB / 331.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.513e-05/0.003795, allocations: 0 / 331.2 MB, free: 1.316 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.00392, allocations: 19.88 kB / 331.2 MB, free: 1.297 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 7.298e-05/0.004023, allocations: 7.875 kB / 331.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.004208, allocations: 39.89 kB / 331.2 MB, free: 1.25 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.004325, allocations: 59.89 kB / 331.3 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.004442, allocations: 23.98 kB / 331.3 MB, free: 1.168 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001208/0.00457, allocations: 35.78 kB / 331.4 MB, free: 1.133 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.051e-05/0.004638, allocations: 31.91 kB / 331.4 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.004661, allocations: 4 kB / 331.4 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.00474, allocations: 16 kB / 331.4 MB, free: 1.082 MB / 270.1 MB Notification: Performance of combineBinaries: time 8.668e-05/0.004834, allocations: 98.84 kB / 331.5 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of replaceArrayConstructors: time 3.136e-05/0.00487, allocations: 63.03 kB / 331.6 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 1.735e-05/0.004894, allocations: 8 kB / 331.6 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.376e-05/0.004922, allocations: 3.938 kB / 331.6 MB, free: 0.9102 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (9) * Number of variables: 10 (10) Notification: Performance of Bindings: time 0.0004382/0.005364, allocations: 415.1 kB / 332 MB, free: 412 kB / 270.1 MB Notification: Performance of FunctionAlias: time 7.154e-05/0.005444, allocations: 43.84 kB / 332 MB, free: 368 kB / 270.1 MB Notification: Performance of Early Inline: time 0.0001933/0.005644, allocations: 204.2 kB / 332.2 MB, free: 136 kB / 270.1 MB Notification: Performance of simplify1: time 2.88e-05/0.00568, allocations: 15.98 kB / 332.2 MB, free: 120 kB / 270.1 MB Notification: Performance of Alias: time 0.0003768/0.006062, allocations: 193.1 kB / 332.4 MB, free: 15.88 MB / 286.1 MB Notification: Performance of simplify2: time 2.834e-05/0.006104, allocations: 23.95 kB / 332.4 MB, free: 15.85 MB / 286.1 MB Notification: Performance of Detect States: time 7.909e-05/0.006188, allocations: 66.62 kB / 332.5 MB, free: 15.77 MB / 286.1 MB Notification: Performance of Events: time 9.594e-05/0.006291, allocations: 51.91 kB / 332.6 MB, free: 15.72 MB / 286.1 MB Notification: Performance of Partitioning: time 9.831e-05/0.006396, allocations: 80.03 kB / 332.6 MB, free: 15.64 MB / 286.1 MB Notification: Performance of Causalize: time 0.0003265/0.006728, allocations: 279.9 kB / 332.9 MB, free: 15.36 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001785/0.006916, allocations: 220.3 kB / 333.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of Inline: time 0.0002456/0.007168, allocations: 296.2 kB / 333.4 MB, free: 14.79 MB / 286.1 MB Notification: Performance of Partitioning: time 2.03e-05/0.007196, allocations: 20.12 kB / 333.4 MB, free: 14.76 MB / 286.1 MB Notification: Performance of Cleanup: time 1.702e-05/0.007218, allocations: 15.98 kB / 333.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of Causalize: time 0.0003674/0.00759, allocations: 313 kB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Tearing: time 1.586e-05/0.007615, allocations: 3.938 kB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Initialization: time 2.054e-06/0.007622, allocations: 0 / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Tearing: time 2.214e-06/0.007629, allocations: 3.938 kB / 333.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of Categorize: time 8.837e-06/0.007642, allocations: 4 kB / 333.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of Solve: time 8.218e-05/0.007728, allocations: 31.97 kB / 333.8 MB, free: 14.39 MB / 286.1 MB Notification: Performance of Jacobian: time 3.036e-06/0.007739, allocations: 4 kB / 333.8 MB, free: 14.39 MB / 286.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: ......... 1 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (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: ........... 14 (scalar:14, 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: ........... 14 (scalar:14, 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.697e-05/0.007782, allocations: 22.95 kB / 333.8 MB, free: 14.36 MB / 286.1 MB Notification: Performance of SimCode: time 0.0007343/0.008521, allocations: 0.8995 MB / 334.7 MB, free: 13.45 MB / 286.1 MB Notification: Performance of Templates: time 0.003309/0.01184, allocations: 0.84 MB / 335.6 MB, free: 12.61 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches