Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001004/0.001004, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001237/0.001237, allocations: 161 kB / 24.56 MB, free: 12 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.003/1.003, allocations: 177.1 MB / 205 MB, free: 5.25 MB / 186.7 MB " [Timeout remaining time 179] 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.2929/0.2929, allocations: 34.27 MB / 295.7 MB, free: 0.6992 MB / 266.7 MB " [Timeout remaining time 180] 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.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.1.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.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 378 MB, free: 2.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.652e-05, allocations: 5.266 kB / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.00304/0.003077, allocations: 2.027 MB / 380.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.004756, allocations: 1.235 MB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.004914, allocations: 4 kB / 381.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002612/0.005175, allocations: 43.53 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005602/0.005736, allocations: 223 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007262/0.006462, allocations: 426.9 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.006843, allocations: 311 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.006985, allocations: 36.92 kB / 382.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002936/0.007279, allocations: 167.5 kB / 382.5 MB, free: 14.19 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.007487, allocations: 171.6 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.007519, allocations: 16 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.007662, allocations: 63.92 kB / 382.7 MB, free: 13.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001513/0.007813, allocations: 139.5 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.441e-05/0.007897, allocations: 87.58 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004099/0.008307, allocations: 310.6 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.008312, allocations: 0 / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008314, allocations: 4 kB / 383.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.008322, allocations: 0 / 383.3 MB, free: 13.41 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.0008667/0.009189, allocations: 0.8095 MB / 384.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.009236, allocations: 8.031 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002747/0.009511, allocations: 80.55 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004396/0.00995, allocations: 344.6 kB / 384.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.042e-05/0.009971, allocations: 12.38 kB / 384.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.01001, allocations: 16.31 kB / 384.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.01028, allocations: 128.8 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.0103, allocations: 3.938 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.01032, allocations: 11.98 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/0.01033, allocations: 0 / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.01042, allocations: 39.91 kB / 384.7 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008761/0.01129, allocations: 0.6505 MB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.01143, allocations: 94.22 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.01147, allocations: 31.44 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.01149, allocations: 8 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.01152, allocations: 41.38 kB / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.01152, allocations: 0 / 385.5 MB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.000835/0.01236, allocations: 423.5 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.0124, allocations: 77.11 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005804/0.01298, allocations: 0.6549 MB / 386.7 MB, free: 9.797 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.01301, allocations: 29.7 kB / 386.7 MB, free: 9.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.01319, allocations: 315.1 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.01324, allocations: 55.48 kB / 387.1 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.0133, allocations: 47.36 kB / 387.1 MB, free: 9.336 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.01348, allocations: 0.5508 MB / 387.7 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.966e-05/0.01353, allocations: 23.92 kB / 387.7 MB, free: 8.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.779e-05/0.01358, allocations: 39.36 kB / 387.7 MB, free: 8.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.0137, allocations: 75.5 kB / 387.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.0137, allocations: 0 / 387.8 MB, free: 8.621 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002238/0.01392, allocations: 165.1 kB / 388 MB, free: 8.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.01395, allocations: 8.219 kB / 388 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.01395, allocations: 0 / 388 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.01397, allocations: 3.938 kB / 388 MB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001455/0.01411, allocations: 39.97 kB / 388 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.01412, allocations: 0 / 388 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.483e-05/0.01417, allocations: 8 kB / 388 MB, free: 8.395 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.01418, allocations: 7.938 kB / 388 MB, free: 8.387 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.627e-05/0.01428, allocations: 164.6 kB / 388.2 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.566e-05/0.01435, allocations: 67.56 kB / 388.3 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002751/0.01462, allocations: 187 kB / 388.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.01462, allocations: 0 / 388.4 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01463, allocations: 8 kB / 388.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.01464, allocations: 0 / 388.4 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006667/0.0153, allocations: 0.7307 MB / 389.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.0153, allocations: 0 / 389.2 MB, free: 7.176 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-05/0.0154, allocations: 39.91 kB / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.0154, allocations: 0 / 389.2 MB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01541, allocations: 4 kB / 389.2 MB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.01541, allocations: 4 kB / 389.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.01542, allocations: 0 / 389.2 MB, free: 7.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.01569, allocations: 430.6 kB / 389.6 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.01574, allocations: 59.66 kB / 389.7 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.01577, allocations: 8 kB / 389.7 MB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.971e-05/0.01585, allocations: 4 kB / 389.7 MB, free: 6.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.0159, allocations: 19.91 kB / 389.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01591, allocations: 4 kB / 389.7 MB, free: 6.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003048/0.01621, allocations: 442.7 kB / 390.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01621, allocations: 0 / 390.2 MB, free: 6.164 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.01645, allocations: 48 kB / 390.2 MB, free: 6.117 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.0009318/0.01738, allocations: 388.7 kB / 390.6 MB, free: 5.875 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.01758, allocations: 87.44 kB / 390.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01758, allocations: 0 / 390.7 MB, free: 5.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.07e-05/0.01764, allocations: 50.7 kB / 390.7 MB, free: 5.734 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004259/0.01806, allocations: 97.19 kB / 390.8 MB, free: 5.641 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.01929, allocations: 0.7383 MB / 391.6 MB, free: 4.863 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.989e-05/0.01939, allocations: 136.4 kB / 391.7 MB, free: 4.711 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001338/0.01952, allocations: 62.91 kB / 391.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.0196, allocations: 40.48 kB / 391.8 MB, free: 4.609 MB / 362.7 MB Notification: Performance of SimCode: time 1.403e-06/0.0196, allocations: 0 / 391.8 MB, free: 4.609 MB / 362.7 MB Notification: Performance of Templates: time 0.007987/0.02759, allocations: 4.381 MB / 396.2 MB, free: 280 kB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.239055283833295]