Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001465/0.001465, allocations: 205.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2323/0.2323, allocations: 46.95 MB / 360.8 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003235/0.003235, allocations: 79.86 kB / 0.4967 GB, free: 6.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.5007, allocations: 66.09 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004066/0.5048, allocations: 1.894 MB / 0.5631 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002001/0.5068, allocations: 1.01 MB / 0.5641 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.5069, allocations: 3.938 kB / 0.5641 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003543/0.5072, allocations: 43.7 kB / 0.5641 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003587/0.5076, allocations: 103.5 kB / 0.5642 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002442/0.5078, allocations: 95.64 kB / 0.5643 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002786/0.5081, allocations: 151.5 kB / 0.5645 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.5083, allocations: 24.41 kB / 0.5645 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.5084, allocations: 59.7 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.5085, allocations: 47.72 kB / 0.5646 GB, free: 0.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.5085, allocations: 8 kB / 0.5646 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.5086, allocations: 43.98 kB / 0.5646 GB, free: 460 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.217e-05/0.5087, allocations: 27.91 kB / 0.5647 GB, free: 432 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.5088, allocations: 43.67 kB / 0.5647 GB, free: 388 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003448/0.5092, allocations: 159 kB / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.5092, allocations: 0 / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5092, allocations: 0 / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.5092, allocations: 0 / 0.5648 GB, free: 232 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007987/0.51, allocations: 419 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.51, allocations: 8.031 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.117e-05/0.5101, allocations: 20.78 kB / 0.5653 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003615/0.5105, allocations: 171 kB / 0.5654 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.5105, allocations: 8.375 kB / 0.5654 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.5105, allocations: 12.34 kB / 0.5655 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002909/0.5108, allocations: 144.3 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.5108, allocations: 4 kB / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.5108, allocations: 0 / 0.5656 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5108, allocations: 4 kB / 0.5656 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.511, allocations: 51.97 kB / 0.5657 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.5116, allocations: 448.7 kB / 0.5661 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.512, allocations: 82.61 kB / 0.5662 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.5121, allocations: 44.83 kB / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.314e-05/0.5121, allocations: 0 / 0.5662 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002136/0.5123, allocations: 109.1 kB / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.5123, allocations: 0 / 0.5663 GB, free: 14.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004242/0.5127, allocations: 153.4 kB / 0.5665 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.5128, allocations: 51.41 kB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.513, allocations: 207.1 kB / 0.5667 GB, free: 14.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.513, allocations: 25.7 kB / 0.5667 GB, free: 14.12 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/0.5131, allocations: 124.1 kB / 0.5668 GB, free: 14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.5131, allocations: 31.73 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.5132, allocations: 33.7 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.5134, allocations: 330.8 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/0.5134, allocations: 31.92 kB / 0.5673 GB, free: 13.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.5136, allocations: 60.27 kB / 0.5673 GB, free: 13.49 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.5138, allocations: 104.2 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.5138, allocations: 0 / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002788/0.514, allocations: 141.4 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5141, allocations: 4 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5141, allocations: 3.938 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5141, allocations: 4 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.962e-05/0.5142, allocations: 23.92 kB / 0.5676 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.5142, allocations: 8.594 kB / 0.5676 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.83e-05/0.5142, allocations: 11.94 kB / 0.5676 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.5143, allocations: 7.938 kB / 0.5676 GB, free: 13.16 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000121/0.5144, allocations: 132.1 kB / 0.5677 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.5144, allocations: 11.91 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.5147, allocations: 138.9 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.5147, allocations: 0 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5147, allocations: 3.984 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5147, allocations: 0 / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.5149, allocations: 157.2 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.5149, allocations: 0 / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.515, allocations: 11.94 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.515, allocations: 4 kB / 0.568 GB, free: 12.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.515, allocations: 4 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.515, allocations: 3.984 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.515, allocations: 0 / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003943/0.5154, allocations: 192.9 kB / 0.5682 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.5154, allocations: 15.92 kB / 0.5682 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.649e-05/0.5154, allocations: 12.06 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.188e-05/0.5155, allocations: 8 kB / 0.5683 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.5155, allocations: 3.984 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.5156, allocations: 4 kB / 0.5683 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.5157, allocations: 147.2 kB / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5157, allocations: 0 / 0.5684 GB, free: 12.27 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002337/0.5159, allocations: 31.92 kB / 0.5684 GB, free: 12.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001687/0.5176, allocations: 431.1 kB / 0.5689 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.5179, allocations: 87.77 kB / 0.5689 GB, free: 11.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.5179, allocations: 4 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.912e-05/0.518, allocations: 31.92 kB / 0.569 GB, free: 11.83 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.5184, allocations: 50.36 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.519, allocations: 275.4 kB / 0.5693 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.5191, allocations: 110.1 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.653e-05/0.5192, allocations: 17.42 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.373e-05/0.5192, allocations: 19.44 kB / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5192, allocations: 0 / 0.5694 GB, free: 11.32 MB / 414.1 MB Notification: Performance of Templates: time 0.006004/0.5252, allocations: 2.122 MB / 0.5715 GB, free: 9.227 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.2913929503411055]