Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.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.001195/0.001195, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001374/0.001374, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.081/1.081, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1368/0.1368, allocations: 32.37 MB / 270.4 MB, free: 14.71 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.418e-05/3.648e-05, allocations: 8.219 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003316/0.003352, allocations: 1.649 MB / 349.3 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007156/0.004068, allocations: 343.2 kB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.004146, allocations: 0 / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003366/0.004482, allocations: 55.69 kB / 349.7 MB, free: 7.375 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.004732, allocations: 43.77 kB / 349.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004433/0.005175, allocations: 155.6 kB / 349.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.005373, allocations: 75.75 kB / 350 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.005506, allocations: 12 kB / 350 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.918e-05/0.005595, allocations: 39.83 kB / 350 MB, free: 7.055 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.005704, allocations: 39.89 kB / 350.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.005728, allocations: 4 kB / 350.1 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.00585, allocations: 35.92 kB / 350.1 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001079/0.005958, allocations: 19.92 kB / 350.1 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.4e-05/0.006002, allocations: 15.92 kB / 350.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.006219, allocations: 71.75 kB / 350.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.006225, allocations: 4 kB / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.006226, allocations: 0 / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.006232, allocations: 0 / 350.2 MB, free: 6.867 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000525/0.006757, allocations: 424 kB / 350.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.006808, allocations: 8.031 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.551e-05/0.006884, allocations: 20.88 kB / 350.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.007076, allocations: 140.4 kB / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.007093, allocations: 384 / 350.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.007123, allocations: 4.375 kB / 350.8 MB, free: 6.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.007311, allocations: 62.94 kB / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.007328, allocations: 192 / 350.9 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.007345, allocations: 8.125 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.007355, allocations: 0 / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.233e-05/0.007408, allocations: 11.94 kB / 350.9 MB, free: 6.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.007883, allocations: 291.7 kB / 351.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.008004, allocations: 43.05 kB / 351.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.943e-05/0.008043, allocations: 15.62 kB / 351.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.00807, allocations: 3.938 kB / 351.2 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.008096, allocations: 45.33 kB / 351.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.008097, allocations: 0 / 351.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005613/0.008658, allocations: 125.5 kB / 351.4 MB, free: 5.551 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.008693, allocations: 51.41 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.008828, allocations: 213.8 kB / 351.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.008839, allocations: 25.7 kB / 351.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.645e-05/0.008885, allocations: 146.8 kB / 351.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.598e-05/0.008921, allocations: 23.78 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.008968, allocations: 31.38 kB / 351.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.009031, allocations: 0.4922 MB / 352.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.00906, allocations: 12 kB / 352.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.399e-05/0.009084, allocations: 7.984 kB / 352.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/0.009143, allocations: 35.91 kB / 352.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.009144, allocations: 0 / 352.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001235/0.009268, allocations: 77.64 kB / 352.5 MB, free: 4.375 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.009284, allocations: 4 kB / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.00929, allocations: 0 / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.009309, allocations: 0 / 352.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001166/0.009426, allocations: 19.98 kB / 352.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.009433, allocations: 0 / 352.5 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.231e-05/0.009465, allocations: 8 kB / 352.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.009473, allocations: 0 / 352.5 MB, free: 4.344 MB / 282.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 (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 prepare postOptimizeDAE: time 6.338e-05/0.009536, allocations: 168.5 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.009569, allocations: 11.91 kB / 352.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.009743, allocations: 78.39 kB / 352.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.009747, allocations: 4 kB / 352.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.009751, allocations: 0 / 352.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.009756, allocations: 4 kB / 352.8 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003057/0.01006, allocations: 337.4 kB / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.01006, allocations: 0 / 353.1 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.467e-05/0.01013, allocations: 23.92 kB / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.01013, allocations: 0 / 353.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01014, allocations: 4 kB / 353.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.01015, allocations: 3.938 kB / 353.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.01015, allocations: 4 kB / 353.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.01028, allocations: 215.8 kB / 353.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.108e-05/0.01029, allocations: 3.953 kB / 353.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01031, allocations: 4 kB / 353.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.967e-05/0.01037, allocations: 7.984 kB / 353.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.01042, allocations: 7.984 kB / 353.4 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.01042, allocations: 11.94 kB / 353.4 MB, free: 3.398 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.704e-05/0.01048, allocations: 147.1 kB / 353.6 MB, free: 3.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01048, allocations: 4 kB / 353.6 MB, free: 3.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.01075, allocations: 19.98 kB / 353.6 MB, free: 3.23 MB / 282.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.001066/0.01182, allocations: 378.8 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.01197, allocations: 35.66 kB / 354 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.01197, allocations: 4 kB / 354 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.729e-05/0.01201, allocations: 31.61 kB / 354 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.01233, allocations: 21.19 kB / 354 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.01278, allocations: 206.1 kB / 354.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01282, allocations: 75.33 kB / 354.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.051e-05/0.01289, allocations: 11.98 kB / 354.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.01292, allocations: 20.48 kB / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01293, allocations: 0 / 354.3 MB, free: 2.492 MB / 282.7 MB Notification: Performance of Templates: time 0.004231/0.01716, allocations: 1.429 MB / 355.8 MB, free: 1.07 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.200647417921573]