Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.0.0_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.001272/0.001272, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001215/0.001216, allocations: 185.8 kB / 18.68 MB, free: 4.426 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.326/1.326, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.502e-05, allocations: 5.516 kB / 351.9 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002432/0.002466, allocations: 1.499 MB / 353.4 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.003308, allocations: 0.4922 MB / 353.9 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.003367, allocations: 4 kB / 353.9 MB, free: 1.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.003488, allocations: 15.88 kB / 353.9 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.925e-05/0.003572, allocations: 11.86 kB / 353.9 MB, free: 1.312 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.00375, allocations: 39.91 kB / 354 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.003874, allocations: 63.83 kB / 354 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.003987, allocations: 23.97 kB / 354 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.004104, allocations: 31.86 kB / 354.1 MB, free: 1.156 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.004172, allocations: 35.83 kB / 354.1 MB, free: 1.121 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.004195, allocations: 8 kB / 354.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-05/0.004278, allocations: 20 kB / 354.1 MB, free: 1.094 MB / 286.1 MB Notification: Performance of combineBinaries: time 9.484e-05/0.004379, allocations: 94.81 kB / 354.2 MB, free: 1 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 3.307e-05/0.004418, allocations: 59.12 kB / 354.3 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 1.871e-05/0.004444, allocations: 7.938 kB / 354.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.797e-05/0.004466, allocations: 4 kB / 354.3 MB, free: 0.9297 MB / 286.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.0004598/0.00493, allocations: 427 kB / 354.7 MB, free: 420 kB / 286.1 MB Notification: Performance of FunctionAlias: time 6.387e-05/0.005, allocations: 27.92 kB / 354.7 MB, free: 392 kB / 286.1 MB Notification: Performance of Early Inline: time 0.0001886/0.005195, allocations: 208.2 kB / 354.9 MB, free: 156 kB / 286.1 MB Notification: Performance of simplify1: time 2.321e-05/0.005225, allocations: 11.98 kB / 355 MB, free: 144 kB / 286.1 MB Notification: Performance of Alias: time 0.0003393/0.00557, allocations: 209.1 kB / 355.2 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplify2: time 1.643e-05/0.005596, allocations: 15.92 kB / 355.2 MB, free: 15.87 MB / 302.1 MB Notification: Performance of Events: time 8.804e-05/0.005689, allocations: 55.83 kB / 355.2 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Detect States: time 8.714e-05/0.005783, allocations: 76.12 kB / 355.3 MB, free: 15.72 MB / 302.1 MB Notification: Performance of Partitioning: time 8.911e-05/0.005881, allocations: 74.23 kB / 355.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003397/0.006227, allocations: 283.9 kB / 355.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002064/0.006441, allocations: 220.2 kB / 355.9 MB, free: 15.12 MB / 302.1 MB Notification: Performance of Inline: time 0.0002786/0.006726, allocations: 296.2 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of Partitioning: time 2.685e-05/0.006761, allocations: 20.12 kB / 356.2 MB, free: 14.77 MB / 302.1 MB Notification: Performance of Cleanup: time 1.513e-05/0.006782, allocations: 15.92 kB / 356.2 MB, free: 14.75 MB / 302.1 MB Notification: Performance of Causalize: time 0.0003678/0.007154, allocations: 319.2 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Tearing: time 7.845e-06/0.007172, allocations: 0 / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Initialization: time 3.81e-07/0.007183, allocations: 3.938 kB / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Tearing: time 1.523e-06/0.007192, allocations: 0 / 356.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of Categorize: time 1.047e-05/0.007211, allocations: 8 kB / 356.5 MB, free: 14.42 MB / 302.1 MB Notification: Performance of Solve: time 0.0001032/0.00732, allocations: 39.95 kB / 356.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Jacobian: time 6.683e-06/0.007335, allocations: 3.938 kB / 356.6 MB, free: 14.38 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: ............... 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 4.453e-05/0.007386, allocations: 17.53 kB / 356.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of SimCode: time 0.0008935/0.008286, allocations: 0.8993 MB / 357.5 MB, free: 13.44 MB / 302.1 MB Notification: Performance of Templates: time 0.003864/0.01217, allocations: 0.8513 MB / 358.3 MB, free: 12.59 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches