Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001391/0.001391, 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.001497/0.001497, allocations: 161.7 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.531/1.531, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3665/0.3665, allocations: 32.79 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.07e-05/4.28e-05, allocations: 9.203 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.004602/0.004645, allocations: 1.686 MB / 377 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.006275, allocations: 0.5375 MB / 377.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.937e-05/0.006335, allocations: 4 kB / 377.5 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009634/0.007298, allocations: 455 kB / 378 MB, free: 2.266 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007437/0.008042, allocations: 291.2 kB / 378.2 MB, free: 1.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.008558, allocations: 135.6 kB / 378.4 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.008926, allocations: 183.6 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.009043, allocations: 12.22 kB / 378.6 MB, free: 1.652 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.009299, allocations: 119.8 kB / 378.7 MB, free: 1.535 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004681/0.009767, allocations: 247.6 kB / 378.9 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.009797, allocations: 4 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001867/0.009984, allocations: 59.86 kB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001747/0.01016, allocations: 79.72 kB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.01027, allocations: 47.72 kB / 379.1 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005598/0.01083, allocations: 255 kB / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.92e-06/0.01083, allocations: 0 / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01083, allocations: 0 / 379.4 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.533e-06/0.01084, allocations: 4 kB / 379.4 MB, free: 0.8516 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001267/0.01211, allocations: 0.5815 MB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.01215, allocations: 8.031 kB / 380 MB, free: 236 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.01229, allocations: 48.59 kB / 380 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.01276, allocations: 256.5 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.01278, allocations: 4.375 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.574e-05/0.01281, allocations: 4.375 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.01309, allocations: 62.22 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.01311, allocations: 192 / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.01312, allocations: 5.688 kB / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.01313, allocations: 0 / 380.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.01339, allocations: 43.89 kB / 380.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007581/0.01415, allocations: 348.2 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.01455, allocations: 58.58 kB / 380.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001412/0.01469, allocations: 20.97 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.01472, allocations: 4 kB / 380.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.01477, allocations: 30.56 kB / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.303e-06/0.01477, allocations: 0 / 380.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0028/0.01757, allocations: 480.7 kB / 381.3 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.01764, allocations: 51.41 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.01933, allocations: 0.8613 MB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.698e-05/0.01937, allocations: 29.7 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003173/0.01969, allocations: 216 kB / 382.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.166e-05/0.01976, allocations: 39.67 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/0.01984, allocations: 25.72 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003206/0.02016, allocations: 362.8 kB / 382.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.02039, allocations: 43.97 kB / 382.9 MB, free: 13.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002353/0.02063, allocations: 39.97 kB / 382.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.02112, allocations: 104.9 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.02112, allocations: 4 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006981/0.02182, allocations: 185.2 kB / 383.2 MB, free: 12.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.02184, allocations: 6.344 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.02185, allocations: 4 kB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.02187, allocations: 0 / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.02199, allocations: 27.97 kB / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.022, allocations: 0 / 383.3 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.277e-05/0.02208, allocations: 15.94 kB / 383.3 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.02209, allocations: 7.938 kB / 383.3 MB, free: 12.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 (11): * Single equations (assignments): 11 * 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.000226/0.02232, allocations: 217.8 kB / 383.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.415e-05/0.02239, allocations: 47.66 kB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004718/0.02286, allocations: 205.8 kB / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.02286, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.02287, allocations: 0 / 383.7 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.02287, allocations: 4 kB / 383.8 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008314/0.02371, allocations: 0.5035 MB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.02371, allocations: 0 / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001187/0.02383, allocations: 23.98 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.02383, allocations: 4 kB / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.02384, allocations: 0 / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.02384, allocations: 0 / 384.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.02385, allocations: 7.984 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004626/0.02431, allocations: 300.9 kB / 384.6 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.02436, allocations: 39.66 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.652e-05/0.02439, allocations: 4 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.0245, allocations: 4 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.02455, allocations: 19.97 kB / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.02456, allocations: 0 / 384.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007511/0.02531, allocations: 0.6511 MB / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02531, allocations: 0 / 385.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002944/0.0256, allocations: 39.88 kB / 385.3 MB, free: 10.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.002226/0.02783, allocations: 0.49 MB / 385.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003514/0.02818, allocations: 107.9 kB / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.02818, allocations: 0 / 385.9 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.02834, allocations: 51.91 kB / 386 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.02879, allocations: 29.95 kB / 386 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.0302, allocations: 0.8661 MB / 386.9 MB, free: 9.242 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.03048, allocations: 232.8 kB / 387.1 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.552e-05/0.03054, allocations: 16.47 kB / 387.1 MB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/0.0306, allocations: 20.5 kB / 387.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of SimCode: time 4.61e-07/0.0306, allocations: 4 kB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of Templates: time 0.005772/0.03637, allocations: 1.741 MB / 388.9 MB, free: 7.238 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.835485716001131]