Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.001025/0.001025, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001091/0.001091, allocations: 165.4 kB / 24.56 MB, free: 16 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 0.959/0.959, allocations: 177.1 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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.2555/0.2555, allocations: 32.81 MB / 294.3 MB, free: 1.227 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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 3.938 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.76e-05, allocations: 10.25 kB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002511/0.002539, allocations: 2.024 MB / 378.1 MB, free: 2.621 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.004022, allocations: 1.227 MB / 379.3 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00014/0.004162, allocations: 4 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.004405, allocations: 51.5 kB / 379.3 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004649/0.00487, allocations: 215 kB / 379.6 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007153/0.005585, allocations: 431 kB / 380 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.005958, allocations: 299 kB / 380.3 MB, free: 416 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.00611, allocations: 52.89 kB / 380.3 MB, free: 364 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002713/0.006382, allocations: 171.5 kB / 380.5 MB, free: 192 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001978/0.006579, allocations: 163.6 kB / 380.6 MB, free: 28 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.701e-05/0.006606, allocations: 12 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.006759, allocations: 67.91 kB / 380.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001251/0.006884, allocations: 143.5 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.448e-05/0.006959, allocations: 87.58 kB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003619/0.007321, allocations: 302.7 kB / 381.2 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.007325, allocations: 4 kB / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007326, allocations: 0 / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.782e-06/0.007333, allocations: 0 / 381.3 MB, free: 15.42 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007408/0.008074, allocations: 0.8095 MB / 382.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.008114, allocations: 15.98 kB / 382.1 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002163/0.008331, allocations: 76.55 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.008712, allocations: 344.5 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.008727, allocations: 8.375 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.008755, allocations: 12.38 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.008953, allocations: 134.1 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.008965, allocations: 7.875 kB / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.008977, allocations: 0 / 382.6 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.008986, allocations: 4 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.219e-05/0.009058, allocations: 31.97 kB / 382.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.009674, allocations: 0.6584 MB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.009798, allocations: 102.1 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.001e-05/0.009838, allocations: 27.36 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.009861, allocations: 4.125 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.009884, allocations: 41.39 kB / 383.5 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.009885, allocations: 3.938 kB / 383.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007426/0.01063, allocations: 423.8 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.01067, allocations: 85.09 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.01114, allocations: 0.6471 MB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.01116, allocations: 25.7 kB / 384.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.01132, allocations: 323.1 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.01136, allocations: 51.48 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.945e-05/0.01141, allocations: 39.36 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.01157, allocations: 0.5547 MB / 385.6 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.806e-05/0.01161, allocations: 23.98 kB / 385.7 MB, free: 10.76 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.01167, allocations: 47.34 kB / 385.7 MB, free: 10.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.01178, allocations: 75.42 kB / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01178, allocations: 0 / 385.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002124/0.01199, allocations: 165.2 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.01201, allocations: 9.969 kB / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.01201, allocations: 0 / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.01203, allocations: 0 / 386 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.01216, allocations: 35.97 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.01217, allocations: 0 / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.323e-05/0.01222, allocations: 12.22 kB / 386 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.01224, allocations: 11.98 kB / 386 MB, free: 10.39 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.0001051/0.01234, allocations: 164.5 kB / 386.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.01242, allocations: 67.56 kB / 386.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.01272, allocations: 170.4 kB / 386.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01272, allocations: 4 kB / 386.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01273, allocations: 0 / 386.4 MB, free: 9.973 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.01273, allocations: 3.938 kB / 386.4 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006836/0.01341, allocations: 0.7386 MB / 387.2 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.01342, allocations: 4.375 kB / 387.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.476e-05/0.0135, allocations: 31.97 kB / 387.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.01351, allocations: 0 / 387.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.01353, allocations: 12 kB / 387.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01353, allocations: 0 / 387.2 MB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.01353, allocations: 3.938 kB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.01384, allocations: 434.2 kB / 387.6 MB, free: 8.695 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.294e-05/0.01389, allocations: 59.66 kB / 387.7 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.01392, allocations: 4 kB / 387.7 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.014, allocations: 11.98 kB / 387.7 MB, free: 8.621 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.538e-05/0.01407, allocations: 11.98 kB / 387.7 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.01408, allocations: 7.984 kB / 387.7 MB, free: 8.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003511/0.01443, allocations: 438.7 kB / 388.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.01443, allocations: 0 / 388.2 MB, free: 8.176 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002581/0.01469, allocations: 48 kB / 388.2 MB, free: 8.129 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.001034/0.01572, allocations: 390.4 kB / 388.6 MB, free: 7.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.01594, allocations: 86.97 kB / 388.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01594, allocations: 0 / 388.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.727e-05/0.01601, allocations: 51.59 kB / 388.7 MB, free: 7.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.01646, allocations: 80.45 kB / 388.8 MB, free: 7.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.01766, allocations: 0.7452 MB / 389.5 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.184e-05/0.01775, allocations: 132.5 kB / 389.7 MB, free: 6.73 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000118/0.01787, allocations: 54.92 kB / 389.7 MB, free: 6.676 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.01795, allocations: 44.48 kB / 389.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of SimCode: time 1.312e-06/0.01795, allocations: 0 / 389.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of Templates: time 0.007431/0.02538, allocations: 4.393 MB / 394.2 MB, free: 2.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.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.0420515737496316]