Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 107.6 kB / 21.2 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 211.5 kB / 24.49 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2524/0.2524, allocations: 46.95 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/2.919e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.281 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004939/0.004969, allocations: 3.105 MB / 0.5003 GB, free: 4.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00326/0.008229, allocations: 1.552 MB / 0.5018 GB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003341/0.008563, allocations: 27.75 kB / 0.5019 GB, free: 2.574 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.009115, allocations: 142.7 kB / 0.502 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005072/0.009622, allocations: 198.6 kB / 0.5022 GB, free: 2.238 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.01092, allocations: 0.5615 MB / 0.5027 GB, free: 1.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001362/0.01228, allocations: 1.252 MB / 0.504 GB, free: 436 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000393/0.01267, allocations: 163 kB / 0.5041 GB, free: 256 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008622/0.01353, allocations: 0.5217 MB / 0.5046 GB, free: 15.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005132/0.01405, allocations: 386.1 kB / 0.505 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.01417, allocations: 60 kB / 0.505 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003944/0.01456, allocations: 207.7 kB / 0.5052 GB, free: 15.09 MB / 382.1 MB Notification: Performance of combineBinaries: time 0.001257/0.01582, allocations: 1.465 MB / 0.5067 GB, free: 13.61 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007163/0.01654, allocations: 0.9751 MB / 0.5076 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.986e-05/0.01663, allocations: 40 kB / 0.5077 GB, free: 12.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 0.0001751/0.0168, allocations: 51.66 kB / 0.5077 GB, free: 12.53 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 (109) * Number of variables: 110 (107) Notification: Performance of [SIM] Bindings: time 0.003813/0.02061, allocations: 3.39 MB / 0.511 GB, free: 8.961 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004829/0.0211, allocations: 393.8 kB / 0.5114 GB, free: 8.559 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.00184/0.02294, allocations: 1.628 MB / 0.513 GB, free: 6.898 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0006213/0.02356, allocations: 392.8 kB / 0.5134 GB, free: 6.453 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.003349/0.02691, allocations: 2.192 MB / 0.5155 GB, free: 3.961 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000486/0.02739, allocations: 318 kB / 0.5158 GB, free: 3.602 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 0.00019/0.02758, allocations: 158.8 kB / 0.516 GB, free: 3.418 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0006076/0.02819, allocations: 459.1 kB / 0.5164 GB, free: 2.898 MB / 382.1 MB Notification: Performance of [SIM] Events: time 0.0002261/0.02842, allocations: 120.5 kB / 0.5165 GB, free: 2.781 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 0.0006967/0.02911, allocations: 0.5529 MB / 0.517 GB, free: 2.184 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.001826/0.03094, allocations: 1.251 MB / 0.5183 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.2817/0.3127, allocations: 1.086 MB / 0.5193 GB, free: 26.45 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.002072/0.3147, allocations: 0.8772 MB / 0.5202 GB, free: 26.25 MB / 382.1 MB Notification: Performance of [INI] Inline: time 0.002168/0.3169, allocations: 1.932 MB / 0.5221 GB, free: 26.23 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 9.604e-05/0.317, allocations: 45.22 kB / 0.5221 GB, free: 26.21 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 0.0004407/0.3174, allocations: 420.5 kB / 0.5225 GB, free: 26.2 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 0.005815/0.3233, allocations: 3.388 MB / 0.5258 GB, free: 25.96 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 0.0001003/0.3234, allocations: 114.8 kB / 0.5259 GB, free: 25.9 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 3.156e-06/0.3234, allocations: 0 / 0.5259 GB, free: 25.9 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.946e-05/0.3234, allocations: 8 kB / 0.5259 GB, free: 25.9 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 2.283e-05/0.3234, allocations: 33.03 kB / 0.526 GB, free: 25.89 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 2.869e-05/0.3234, allocations: 8.172 kB / 0.526 GB, free: 25.88 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 0.002708/0.3261, allocations: 1.384 MB / 0.5273 GB, free: 25.68 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 0.0008339/0.327, allocations: 0.6876 MB / 0.528 GB, free: 25.14 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 2 * Number of algebraic event partitions: ......... 3 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 1 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 18 (16) {integrator.y, limIntegrator.y, derivative.x, firstOrder.y, secondOrder.y, secondOrder.yd, pI.x, pID.I.y, limPID.I.y, transferFunction.x_scaled, stateSpace.x, lowpassButterworth.x2, pID.D.x, limPID.D.x, lowpassButterworth.x1, criticalDamping.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 10 (10) {$SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:61, array:3, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ........... 112 (scalar:105, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization (lambda=0)] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 112 (scalar:105, array:7, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.000199/0.3272, allocations: 75 kB / 0.5281 GB, free: 25.08 MB / 382.1 MB Notification: Performance of SimCode: time 0.005419/0.3326, allocations: 3.033 MB / 0.531 GB, free: 23.67 MB / 382.1 MB Notification: Performance of Templates: time 0.01594/0.3485, allocations: 6.707 MB / 0.5376 GB, free: 22.11 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/Continuous_InitialOutput/Continuous_InitialOutput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Blocks.Continuous_InitialOutput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.731931902933866]