Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001547/0.001547, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001563/0.001563, allocations: 214.5 kB / 24.48 MB, free: 3.832 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.508/1.508, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.2441/0.2441, allocations: 46.95 MB / 361.6 MB, free: 3.922 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002405/0.002405, allocations: 79.86 kB / 0.4975 GB, free: 6.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3758, allocations: 66.08 MB / 0.562 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003479/0.3793, allocations: 1.737 MB / 0.5637 GB, free: 2.207 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001916/0.3812, allocations: 0.9671 MB / 0.5646 GB, free: 1.234 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.824e-05/0.3813, allocations: 11.88 kB / 0.5646 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003541/0.3816, allocations: 107.6 kB / 0.5647 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003705/0.382, allocations: 127.5 kB / 0.5649 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002169/0.3822, allocations: 75.69 kB / 0.5649 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.3824, allocations: 127.6 kB / 0.565 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.882e-05/0.3825, allocations: 19.97 kB / 0.5651 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.3826, allocations: 59.77 kB / 0.5651 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.3827, allocations: 67.78 kB / 0.5652 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.3828, allocations: 8 kB / 0.5652 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.3829, allocations: 55.98 kB / 0.5653 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.383, allocations: 31.86 kB / 0.5653 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.383, allocations: 35.72 kB / 0.5653 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.3832, allocations: 145.8 kB / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3833, allocations: 0 / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3833, allocations: 0 / 0.5655 GB, free: 392 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3833, allocations: 0 / 0.5655 GB, free: 392 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006243/0.3839, allocations: 389.3 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3839, allocations: 12.03 kB / 0.5658 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.384, allocations: 16.84 kB / 0.5659 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/0.3843, allocations: 162.4 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.3843, allocations: 8.375 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.288e-05/0.3843, allocations: 4.328 kB / 0.566 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.3845, allocations: 69.91 kB / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3845, allocations: 0 / 0.5661 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3845, allocations: 4 kB / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3845, allocations: 0 / 0.5661 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.142e-05/0.3846, allocations: 27.97 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.385, allocations: 248.5 kB / 0.5664 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.3853, allocations: 62.42 kB / 0.5664 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.339e-05/0.3853, allocations: 24.97 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.3853, allocations: 0 / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3855, allocations: 67.39 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.3855, allocations: 0 / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008012/0.3863, allocations: 265.7 kB / 0.5668 GB, free: 14.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.3864, allocations: 55.41 kB / 0.5668 GB, free: 14.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3866, allocations: 250.8 kB / 0.567 GB, free: 14.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.3867, allocations: 25.7 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.97e-05/0.3868, allocations: 112.1 kB / 0.5672 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.3868, allocations: 43.62 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.3868, allocations: 21.72 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.387, allocations: 342.7 kB / 0.5676 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.673e-05/0.3871, allocations: 35.92 kB / 0.5676 GB, free: 14.01 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.412e-05/0.3872, allocations: 41.7 kB / 0.5676 GB, free: 13.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.3873, allocations: 81.7 kB / 0.5677 GB, free: 13.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.3873, allocations: 4 kB / 0.5677 GB, free: 13.87 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002469/0.3876, allocations: 129.5 kB / 0.5678 GB, free: 13.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.3876, allocations: 8 kB / 0.5679 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3876, allocations: 7.984 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3876, allocations: 0 / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.527e-05/0.3877, allocations: 19.98 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3877, allocations: 7.938 kB / 0.5679 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.621e-05/0.3878, allocations: 3.938 kB / 0.5679 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.3878, allocations: 4.031 kB / 0.5679 GB, free: 13.69 MB / 414.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 (13): * Single equations (assignments): 13 * 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.0001369/0.3879, allocations: 145.8 kB / 0.568 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.933e-05/0.3879, allocations: 15.91 kB / 0.5681 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003167/0.3883, allocations: 151.1 kB / 0.5682 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.3883, allocations: 7.938 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3883, allocations: 0 / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.3883, allocations: 3.984 kB / 0.5682 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005817/0.3889, allocations: 399.7 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3889, allocations: 0 / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.742e-05/0.3889, allocations: 27.98 kB / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3889, allocations: 0 / 0.5686 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.3889, allocations: 8 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.3889, allocations: 3.938 kB / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3889, allocations: 0 / 0.5686 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.3893, allocations: 249 kB / 0.5689 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.3893, allocations: 11.91 kB / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.3893, allocations: 0 / 0.5689 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.129e-05/0.3894, allocations: 11.94 kB / 0.5689 GB, free: 12.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.304e-05/0.3894, allocations: 11.97 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3895, allocations: 8 kB / 0.5689 GB, free: 12.57 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001921/0.3896, allocations: 196.2 kB / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3896, allocations: 0 / 0.5691 GB, free: 12.38 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3899, allocations: 31.94 kB / 0.5691 GB, free: 12.34 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002098/0.392, allocations: 0.5314 MB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.3923, allocations: 71.91 kB / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3923, allocations: 0 / 0.5697 GB, free: 11.94 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.736e-05/0.3924, allocations: 47.98 kB / 0.5698 GB, free: 11.89 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.3928, allocations: 42.27 kB / 0.5698 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.3934, allocations: 330.2 kB / 0.5701 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001176/0.3935, allocations: 113.1 kB / 0.5702 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.3936, allocations: 15.44 kB / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3936, allocations: 0 / 0.5702 GB, free: 11.35 MB / 414.1 MB Notification: Performance of Templates: time 0.004754/0.3983, allocations: 2.36 MB / 0.5725 GB, free: 8.992 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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: 8.214883199892938]