Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001753/0.001753, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001636/0.001636, allocations: 213.6 kB / 23.73 MB, free: 4.16 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.471/1.471, allocations: 230.5 MB / 257.4 MB, free: 7.793 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.2439/0.2439, allocations: 46.95 MB / 360.8 MB, free: 3.93 MB / 286.1 MB " [Timeout remaining time 179] 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002384/0.002384, allocations: 76.11 kB / 0.4967 GB, free: 6.996 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4748, allocations: 66.09 MB / 0.5612 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.00407/0.4789, allocations: 1.889 MB / 0.5631 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.4813, allocations: 1.01 MB / 0.5641 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.4814, allocations: 7.938 kB / 0.5641 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004376/0.4818, allocations: 47.69 kB / 0.5641 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004237/0.4823, allocations: 95.5 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003076/0.4826, allocations: 99.69 kB / 0.5643 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002746/0.4829, allocations: 147.5 kB / 0.5644 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001553/0.483, allocations: 20.41 kB / 0.5645 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.4831, allocations: 59.67 kB / 0.5645 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.4833, allocations: 59.62 kB / 0.5646 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.4833, allocations: 8 kB / 0.5646 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.4834, allocations: 51.92 kB / 0.5646 GB, free: 476 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.156e-05/0.4835, allocations: 23.92 kB / 0.5647 GB, free: 452 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.546e-05/0.4836, allocations: 43.72 kB / 0.5647 GB, free: 408 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.4839, allocations: 151.1 kB / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4839, allocations: 0 / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4839, allocations: 0 / 0.5648 GB, free: 260 kB / 398.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.4839, allocations: 0 / 0.5648 GB, free: 260 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.0009929/0.4849, allocations: 415 kB / 0.5652 GB, free: 15.81 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.485, allocations: 16.03 kB / 0.5653 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.338e-05/0.4851, allocations: 16.84 kB / 0.5653 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.4856, allocations: 174.9 kB / 0.5654 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.4856, allocations: 8.375 kB / 0.5654 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.455e-05/0.4856, allocations: 8.359 kB / 0.5655 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.486, allocations: 142.2 kB / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.486, allocations: 0 / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.486, allocations: 0 / 0.5656 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.486, allocations: 4 kB / 0.5656 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001844/0.4862, allocations: 55.89 kB / 0.5656 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.487, allocations: 448.7 kB / 0.5661 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004414/0.4874, allocations: 86.59 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.4875, allocations: 32.84 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/0.4876, allocations: 4 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.4878, allocations: 113.1 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.723e-06/0.4878, allocations: 4 kB / 0.5663 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000498/0.4883, allocations: 145.5 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.4884, allocations: 55.34 kB / 0.5665 GB, free: 14.39 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.4887, allocations: 211.5 kB / 0.5667 GB, free: 14.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4887, allocations: 25.7 kB / 0.5667 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.4888, allocations: 116.1 kB / 0.5668 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.4888, allocations: 31.73 kB / 0.5669 GB, free: 14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.4889, allocations: 29.66 kB / 0.5669 GB, free: 13.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.489, allocations: 338.8 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.93e-05/0.4891, allocations: 31.98 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.4892, allocations: 64.27 kB / 0.5673 GB, free: 13.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.4894, allocations: 96.22 kB / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4894, allocations: 0 / 0.5674 GB, free: 13.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002748/0.4897, allocations: 145.4 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.4897, allocations: 8 kB / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4897, allocations: 0 / 0.5675 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4898, allocations: 4 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.4899, allocations: 23.92 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.4899, allocations: 4 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.4899, allocations: 7.953 kB / 0.5676 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.4899, allocations: 16.06 kB / 0.5676 GB, free: 13.19 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.0001328/0.4901, allocations: 129.7 kB / 0.5677 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.947e-05/0.4901, allocations: 19.84 kB / 0.5677 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.4904, allocations: 135 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.4904, allocations: 0 / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4904, allocations: 0 / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4904, allocations: 0 / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.4906, allocations: 153.4 kB / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4906, allocations: 0 / 0.568 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.075e-05/0.4907, allocations: 23.92 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.4907, allocations: 0 / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.4907, allocations: 4 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4907, allocations: 4 kB / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4907, allocations: 0 / 0.568 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.4911, allocations: 196.8 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.4912, allocations: 11.94 kB / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.4912, allocations: 0 / 0.5682 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.304e-05/0.4913, allocations: 11.98 kB / 0.5683 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.4913, allocations: 16.03 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4913, allocations: 4 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001398/0.4915, allocations: 147.2 kB / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4915, allocations: 0 / 0.5684 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002375/0.4917, allocations: 27.94 kB / 0.5684 GB, free: 12.26 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.001703/0.4934, allocations: 440.7 kB / 0.5689 GB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.4937, allocations: 75.89 kB / 0.5689 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4937, allocations: 8.25 kB / 0.5689 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001076/0.4938, allocations: 39.89 kB / 0.569 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.4941, allocations: 47.41 kB / 0.569 GB, free: 11.81 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006152/0.4947, allocations: 275.4 kB / 0.5693 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.4948, allocations: 105.8 kB / 0.5694 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.224e-05/0.4949, allocations: 25.42 kB / 0.5694 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.177e-05/0.495, allocations: 15.44 kB / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.495, allocations: 0 / 0.5694 GB, free: 11.34 MB / 414.1 MB Notification: Performance of Templates: time 0.005912/0.5009, allocations: 2.125 MB / 0.5715 GB, free: 9.246 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.216684179380536]