Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.002485/0.002485, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.00201/0.00201, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 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.717/1.717, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3343/0.3343, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 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.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 375.3 MB, free: 4.918 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.096e-05/3.232e-05, allocations: 5.406 kB / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.003641/0.003673, allocations: 1.743 MB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.005772, allocations: 0.9937 MB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9e-05/0.005862, allocations: 4 kB / 378.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.006216, allocations: 51.69 kB / 378.1 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003467/0.006563, allocations: 95.53 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.006789, allocations: 83.59 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.006986, allocations: 107.6 kB / 378.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.267e-05/0.007068, allocations: 8 kB / 378.4 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000135/0.007203, allocations: 59.77 kB / 378.5 MB, free: 1.754 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.906e-05/0.007292, allocations: 27.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.007316, allocations: 4 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.007426, allocations: 47.91 kB / 378.6 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.799e-05/0.007494, allocations: 23.92 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.495e-05/0.007549, allocations: 19.88 kB / 378.6 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002459/0.007795, allocations: 123.6 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.007799, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0078, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.007806, allocations: 0 / 378.7 MB, free: 1.512 MB / 346.7 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.0006992/0.008505, allocations: 475.3 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.008545, allocations: 8.031 kB / 379.2 MB, free: 1.004 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.447e-05/0.00861, allocations: 16.84 kB / 379.2 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.008886, allocations: 165.2 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.0089, allocations: 384 / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.008925, allocations: 8.359 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.009081, allocations: 54.23 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.061e-05/0.009112, allocations: 3.938 kB / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.009124, allocations: 0 / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.009128, allocations: 0 / 379.4 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.283e-05/0.009221, allocations: 27.97 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/0.009731, allocations: 307.8 kB / 379.8 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.009921, allocations: 55.17 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.598e-05/0.009987, allocations: 27.61 kB / 379.8 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.01, allocations: 4 kB / 379.9 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001905/0.01019, allocations: 80.94 kB / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.0102, allocations: 0 / 379.9 MB, free: 172 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006469/0.01084, allocations: 181.3 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.491e-05/0.0109, allocations: 55.41 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.0112, allocations: 275.1 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.01123, allocations: 33.7 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.01135, allocations: 162.8 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.01139, allocations: 23.84 kB / 380.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.581e-05/0.01144, allocations: 31.38 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000287/0.01173, allocations: 0.504 MB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.297e-05/0.01179, allocations: 19.98 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.162e-05/0.01187, allocations: 43.36 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.01202, allocations: 67.25 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.01202, allocations: 0 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002161/0.01223, allocations: 113.9 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.01225, allocations: 5.875 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01226, allocations: 7.875 kB / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.01227, allocations: 0 / 381.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.874e-05/0.01237, allocations: 23.98 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.01237, allocations: 0 / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.004e-05/0.01242, allocations: 8 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.01243, allocations: 0 / 381.5 MB, free: 14.55 MB / 362.7 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.0001423/0.01257, allocations: 172.5 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.01261, allocations: 15.91 kB / 381.6 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.01289, allocations: 127.2 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.0129, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.0129, allocations: 3.984 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01291, allocations: 0 / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005768/0.01348, allocations: 424.9 kB / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01349, allocations: 0 / 382.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.625e-05/0.01353, allocations: 15.98 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01353, allocations: 0 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.01354, allocations: 3.938 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01355, allocations: 0 / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01355, allocations: 8.031 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.01388, allocations: 271.4 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.0139, allocations: 7.953 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.01393, allocations: 7.984 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.014, allocations: 4 kB / 382.5 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.01405, allocations: 7.984 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.01407, allocations: 4 kB / 382.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001787/0.01424, allocations: 195.1 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01424, allocations: 0 / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002634/0.01451, allocations: 24 kB / 382.7 MB, free: 13.2 MB / 362.7 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.003452/0.01796, allocations: 495.5 kB / 383.2 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.01825, allocations: 71.53 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.01826, allocations: 4 kB / 383.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.01835, allocations: 43.67 kB / 383.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.01878, allocations: 34.42 kB / 383.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.01938, allocations: 249.4 kB / 383.6 MB, free: 12.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.01978, allocations: 104.7 kB / 383.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.656e-05/0.01985, allocations: 25.25 kB / 383.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.725e-05/0.01989, allocations: 20.56 kB / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.01989, allocations: 0 / 383.8 MB, free: 12.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005876/0.02577, allocations: 1.871 MB / 385.6 MB, free: 10.47 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.306363919051364]