Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.001334/0.001334, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001106/0.001106, allocations: 164.4 kB / 24.82 MB, free: 9.266 MB / 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.993/0.993, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.3122/0.3122, allocations: 32.8 MB / 294.6 MB, free: 1.25 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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 376.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.588e-05, allocations: 6.25 kB / 376.5 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002672/0.002688, allocations: 2.015 MB / 378.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.004422, allocations: 1.324 MB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.004535, allocations: 7.938 kB / 379.8 MB, free: 1.047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.004754, allocations: 59.44 kB / 379.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.005153, allocations: 211 kB / 380.1 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.006048, allocations: 0.5846 MB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003649/0.006413, allocations: 335 kB / 381 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.006557, allocations: 48.88 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000235/0.006792, allocations: 179.5 kB / 381.2 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.006986, allocations: 171.6 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.153e-05/0.007017, allocations: 16 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.007136, allocations: 63.92 kB / 381.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.007266, allocations: 151.4 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.007342, allocations: 83.64 kB / 381.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006336/0.01368, allocations: 318.6 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.01368, allocations: 4 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01368, allocations: 0 / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.497e-06/0.01368, allocations: 0 / 382 MB, free: 14.85 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.0007082/0.01439, allocations: 0.821 MB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.01443, allocations: 8.031 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002025/0.01463, allocations: 88.5 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.01495, allocations: 332.6 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.01496, allocations: 4.375 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.467e-05/0.01499, allocations: 16.36 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.01514, allocations: 137.1 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.01516, allocations: 3.938 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.01516, allocations: 0 / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.01517, allocations: 4 kB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.845e-05/0.01523, allocations: 31.97 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005239/0.01575, allocations: 0.5612 MB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.01585, allocations: 90.2 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.432e-05/0.01589, allocations: 31.5 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.01591, allocations: 7.938 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.01593, allocations: 37.61 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.114e-06/0.01594, allocations: 7.984 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.006608/0.02254, allocations: 260.8 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.186e-05/0.02258, allocations: 81.11 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005124/0.02309, allocations: 0.6351 MB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.0231, allocations: 25.7 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.0233, allocations: 335 kB / 385.5 MB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.28e-05/0.02334, allocations: 55.47 kB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.654e-05/0.0234, allocations: 39.36 kB / 385.6 MB, free: 11.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.02358, allocations: 0.5585 MB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.562e-05/0.02361, allocations: 19.98 kB / 386.2 MB, free: 10.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.02367, allocations: 50.5 kB / 386.2 MB, free: 10.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.231e-05/0.02376, allocations: 63.48 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.02376, allocations: 0.75 kB / 386.3 MB, free: 10.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001935/0.02395, allocations: 157.2 kB / 386.4 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.02397, allocations: 7.938 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.02397, allocations: 0 / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.02398, allocations: 4 kB / 386.5 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.0241, allocations: 31.97 kB / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.705e-06/0.0241, allocations: 0 / 386.5 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.02417, allocations: 20 kB / 386.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.02418, allocations: 3.984 kB / 386.5 MB, free: 10.11 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 9.185e-05/0.02427, allocations: 164.5 kB / 386.7 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.513e-05/0.02436, allocations: 59.62 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.02462, allocations: 186.2 kB / 386.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.02462, allocations: 4 kB / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.02462, allocations: 0 / 386.9 MB, free: 9.684 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.02463, allocations: 3.984 kB / 386.9 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005952/0.02522, allocations: 0.6336 MB / 387.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.02522, allocations: 0 / 387.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006096/0.03132, allocations: 39.91 kB / 387.6 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.03132, allocations: 0 / 387.6 MB, free: 8.973 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.03133, allocations: 8 kB / 387.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.03134, allocations: 0 / 387.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.03134, allocations: 3.938 kB / 387.6 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.0316, allocations: 418.7 kB / 388 MB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.03166, allocations: 55.61 kB / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.03169, allocations: 0 / 388.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.03181, allocations: 15.98 kB / 388.1 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.03185, allocations: 11.92 kB / 388.1 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.03186, allocations: 11.98 kB / 388.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.03215, allocations: 402.6 kB / 388.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03215, allocations: 0 / 388.5 MB, free: 8.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000319/0.03247, allocations: 51.94 kB / 388.5 MB, free: 7.996 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.0008634/0.03333, allocations: 391.6 kB / 388.9 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.03347, allocations: 74.67 kB / 389 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.03348, allocations: 0 / 389 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.207e-05/0.03354, allocations: 47.58 kB / 389.1 MB, free: 7.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.03399, allocations: 93.27 kB / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006989/0.04098, allocations: 0.7769 MB / 389.9 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.04109, allocations: 144.5 kB / 390.1 MB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.04122, allocations: 54.92 kB / 390.1 MB, free: 6.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.04138, allocations: 134.2 kB / 390.2 MB, free: 6.375 MB / 362.7 MB Notification: Performance of SimCode: time 4.81e-07/0.04138, allocations: 4 kB / 390.2 MB, free: 6.371 MB / 362.7 MB Notification: Performance of Templates: time 0.01967/0.06105, allocations: 4.489 MB / 394.7 MB, free: 1.953 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/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.2113226070068777]