Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.001468/0.001468, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001537/0.001537, allocations: 161.6 kB / 24.27 MB, free: 172 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.49/1.49, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3553/0.3553, allocations: 34.26 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.522e-05, allocations: 2.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.004485/0.004521, allocations: 1.606 MB / 378.9 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001708/0.006228, allocations: 0.557 MB / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.006295, allocations: 0 / 379.5 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.006595, allocations: 23.78 kB / 379.5 MB, free: 0.7422 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.006992, allocations: 79.56 kB / 379.6 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004336/0.007425, allocations: 111.6 kB / 379.7 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002049/0.00763, allocations: 71.83 kB / 379.7 MB, free: 496 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.716e-05/0.007727, allocations: 7.984 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.007832, allocations: 47.84 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.341e-05/0.007925, allocations: 19.97 kB / 379.8 MB, free: 420 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.007948, allocations: 4 kB / 379.8 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.008191, allocations: 99.69 kB / 379.9 MB, free: 316 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.00825, allocations: 15.94 kB / 379.9 MB, free: 300 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.873e-05/0.008309, allocations: 19.97 kB / 379.9 MB, free: 280 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006633/0.008972, allocations: 143.5 kB / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.008977, allocations: 0 / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.008979, allocations: 0 / 380.1 MB, free: 136 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.999e-06/0.008984, allocations: 0 / 380.1 MB, free: 136 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007766/0.00976, allocations: 341.6 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.009805, allocations: 8.031 kB / 380.4 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.843e-05/0.009883, allocations: 12.89 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003064/0.01019, allocations: 139.4 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.01021, allocations: 4.375 kB / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.01024, allocations: 384 / 380.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.0105, allocations: 89.67 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.01052, allocations: 4.141 kB / 380.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.01053, allocations: 8.062 kB / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.01054, allocations: 0 / 380.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001539/0.01069, allocations: 31.97 kB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.01131, allocations: 228.6 kB / 380.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.01149, allocations: 58.42 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.0116, allocations: 24.94 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01162, allocations: 0 / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.01168, allocations: 38.5 kB / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.213e-06/0.01168, allocations: 0 / 381.1 MB, free: 15.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.001022/0.0127, allocations: 189.3 kB / 381.2 MB, free: 14.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/0.0128, allocations: 77.11 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.01308, allocations: 148.2 kB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.01311, allocations: 25.7 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.01322, allocations: 96.12 kB / 381.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.01326, allocations: 23.75 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.215e-05/0.01333, allocations: 25.7 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002401/0.01357, allocations: 318.8 kB / 381.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.01371, allocations: 35.97 kB / 382 MB, free: 14.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001841/0.0139, allocations: 75.45 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002841/0.01418, allocations: 72.75 kB / 382.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.01419, allocations: 3.938 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003763/0.01456, allocations: 109.6 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.01458, allocations: 4 kB / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01459, allocations: 0 / 382.2 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.01461, allocations: 8.031 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.01477, allocations: 15.98 kB / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.01478, allocations: 0 / 382.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.699e-05/0.01485, allocations: 8 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01487, allocations: 8 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001611/0.01503, allocations: 125.7 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.01509, allocations: 7.953 kB / 382.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.01552, allocations: 114.4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01552, allocations: 4 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.01553, allocations: 0 / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.01553, allocations: 0 / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007992/0.01633, allocations: 342 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.01633, allocations: 0 / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.758e-05/0.01643, allocations: 12 kB / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01643, allocations: 0 / 382.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01645, allocations: 7.984 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01645, allocations: 0 / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01645, allocations: 4 kB / 382.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.0169, allocations: 199.7 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.01693, allocations: 7.953 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.01696, allocations: 4 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.01709, allocations: 7.984 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.01713, allocations: 0 / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01715, allocations: 7.984 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000166/0.01731, allocations: 111.3 kB / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01731, allocations: 0 / 383.2 MB, free: 12.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000521/0.01783, allocations: 55.8 kB / 383.3 MB, free: 12.68 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.002952/0.02079, allocations: 0.5287 MB / 383.8 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003685/0.02115, allocations: 67.89 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.02116, allocations: 0 / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001401/0.0213, allocations: 35.97 kB / 383.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005453/0.02184, allocations: 15.94 kB / 383.9 MB, free: 12.25 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007127/0.02255, allocations: 212.6 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.02269, allocations: 83.25 kB / 384.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.02281, allocations: 25.02 kB / 384.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.02289, allocations: 24.48 kB / 384.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02289, allocations: 0 / 384.2 MB, free: 11.87 MB / 362.7 MB Notification: Performance of Templates: time 0.007818/0.03071, allocations: 2.034 MB / 386.3 MB, free: 9.852 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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: 4.892017191974446]