Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.001325/0.001325, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001559/0.001559, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.605/1.605, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.235/0.235, allocations: 44.93 MB / 358.8 MB, free: 6.129 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 70.09 kB / 0.4936 GB, free: 9.949 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4161, allocations: 65.46 MB / 0.5575 GB, free: 7.438 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004751/0.4208, allocations: 1.725 MB / 0.5592 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002617/0.4234, allocations: 0.9706 MB / 0.5601 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.4236, allocations: 0 / 0.5601 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.424, allocations: 43.7 kB / 0.5602 GB, free: 4.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004721/0.4244, allocations: 99.53 kB / 0.5603 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.4247, allocations: 71.75 kB / 0.5604 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003111/0.425, allocations: 107.6 kB / 0.5605 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.4252, allocations: 7.984 kB / 0.5605 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.4253, allocations: 43.78 kB / 0.5605 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.4254, allocations: 31.86 kB / 0.5605 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.35e-05/0.4254, allocations: 4 kB / 0.5605 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001414/0.4255, allocations: 47.91 kB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.506e-05/0.4256, allocations: 23.92 kB / 0.5606 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.4257, allocations: 27.8 kB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003194/0.426, allocations: 117.9 kB / 0.5607 GB, free: 4.113 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.426, allocations: 4 kB / 0.5607 GB, free: 4.109 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.426, allocations: 0 / 0.5607 GB, free: 4.109 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.426, allocations: 0 / 0.5607 GB, free: 4.109 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007452/0.4268, allocations: 345.5 kB / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.4268, allocations: 16.03 kB / 0.5611 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.4269, allocations: 12.84 kB / 0.5611 GB, free: 3.715 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.4273, allocations: 142.3 kB / 0.5612 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.4273, allocations: 8.375 kB / 0.5612 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.4273, allocations: 4.125 kB / 0.5613 GB, free: 3.539 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.4275, allocations: 57.67 kB / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.4275, allocations: 0 / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4276, allocations: 0 / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.4276, allocations: 0 / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.4277, allocations: 19.98 kB / 0.5613 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004791/0.4281, allocations: 240.5 kB / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.4284, allocations: 54.66 kB / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.4285, allocations: 28.84 kB / 0.5616 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4285, allocations: 0 / 0.5616 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.4287, allocations: 67.39 kB / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.4287, allocations: 0 / 0.5617 GB, free: 3.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007514/0.4295, allocations: 177.3 kB / 0.5619 GB, free: 2.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.375e-05/0.4295, allocations: 55.41 kB / 0.5619 GB, free: 2.773 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.4298, allocations: 195.2 kB / 0.5621 GB, free: 2.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.4298, allocations: 29.7 kB / 0.5621 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.4299, allocations: 108.1 kB / 0.5622 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.212e-05/0.43, allocations: 19.86 kB / 0.5623 GB, free: 2.406 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.43, allocations: 25.7 kB / 0.5623 GB, free: 2.375 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.4302, allocations: 326.8 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.997e-05/0.4303, allocations: 20.38 kB / 0.5626 GB, free: 2.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4304, allocations: 41.64 kB / 0.5627 GB, free: 1.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.4305, allocations: 57.7 kB / 0.5627 GB, free: 1.918 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.4306, allocations: 8 kB / 0.5627 GB, free: 1.91 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003/0.4309, allocations: 109.5 kB / 0.5628 GB, free: 1.797 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.4309, allocations: 10.66 kB / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4309, allocations: 0 / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4309, allocations: 0 / 0.5628 GB, free: 1.789 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.431, allocations: 23.86 kB / 0.5629 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.4311, allocations: 4 kB / 0.5629 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.4311, allocations: 4 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4311, allocations: 4 kB / 0.5629 GB, free: 1.754 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001566/0.4313, allocations: 129.8 kB / 0.563 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.236e-05/0.4313, allocations: 7.953 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.4317, allocations: 131 kB / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.4317, allocations: 0 / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4317, allocations: 0 / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.4317, allocations: 0 / 0.5631 GB, free: 1.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.4324, allocations: 350.9 kB / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4324, allocations: 0 / 0.5635 GB, free: 1.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.009e-05/0.4324, allocations: 12 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.4324, allocations: 0 / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.4324, allocations: 4.031 kB / 0.5635 GB, free: 1.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/0.4324, allocations: 4 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.4325, allocations: 3.938 kB / 0.5635 GB, free: 1.059 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000375/0.4328, allocations: 216.2 kB / 0.5637 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.671e-05/0.4329, allocations: 8.328 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.245e-05/0.4329, allocations: 4 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.433, allocations: 0 / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.4331, allocations: 15.86 kB / 0.5637 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.4331, allocations: 11.94 kB / 0.5637 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001993/0.4333, allocations: 142 kB / 0.5639 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4333, allocations: 4 kB / 0.5639 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005027/0.4338, allocations: 24 kB / 0.5639 GB, free: 0.625 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002562/0.4364, allocations: 498.9 kB / 0.5644 GB, free: 352 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.4367, allocations: 63.91 kB / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4367, allocations: 0 / 0.5644 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.4368, allocations: 24 kB / 0.5644 GB, free: 264 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006136/0.4374, allocations: 34.91 kB / 0.5645 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.4381, allocations: 227.3 kB / 0.5647 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.4382, allocations: 88.31 kB / 0.5648 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.45e-05/0.4383, allocations: 21.28 kB / 0.5648 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/0.4383, allocations: 19.42 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4383, allocations: 0 / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of Templates: time 0.007189/0.4455, allocations: 1.909 MB / 0.5667 GB, free: 13.95 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.4578607827425]