Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.001743/0.001743, allocations: 71.75 kB / 21.24 MB, free: 396 kB / 14.72 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.002006/0.002006, allocations: 164.2 kB / 24.5 MB, free: 3.441 MB / 14.72 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.502/1.502, allocations: 177.2 MB / 204.9 MB, free: 9.059 MB / 190.1 MB " [Timeout remaining time 178] 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.2082/0.2082, allocations: 34.27 MB / 295.5 MB, free: 14.61 MB / 286.1 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.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 75.81 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3411, allocations: 66.01 MB / 0.4973 GB, free: 29.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002394/0.3435, allocations: 1.68 MB / 0.4989 GB, free: 28.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.3448, allocations: 0.9477 MB / 0.4999 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.086e-05/0.3448, allocations: 3.281 kB / 0.4999 GB, free: 28.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001803/0.345, allocations: 87.06 kB / 0.4999 GB, free: 28.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002198/0.3452, allocations: 121.2 kB / 0.5001 GB, free: 28.08 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.3454, allocations: 72.66 kB / 0.5001 GB, free: 28.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001251/0.3455, allocations: 110.1 kB / 0.5002 GB, free: 28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.906e-05/0.3455, allocations: 3.516 kB / 0.5002 GB, free: 28 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.401e-05/0.3456, allocations: 45.47 kB / 0.5003 GB, free: 27.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.259e-05/0.3457, allocations: 59.64 kB / 0.5003 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3457, allocations: 6.406 kB / 0.5003 GB, free: 27.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.44e-05/0.3457, allocations: 43.05 kB / 0.5004 GB, free: 27.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.548e-05/0.3458, allocations: 18.11 kB / 0.5004 GB, free: 27.93 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.078e-05/0.3458, allocations: 32.92 kB / 0.5004 GB, free: 27.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.3459, allocations: 109.9 kB / 0.5005 GB, free: 27.87 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3459, allocations: 0 / 0.5005 GB, free: 27.87 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.3459, allocations: 0 / 0.5005 GB, free: 27.87 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.3459, allocations: 0 / 0.5005 GB, free: 27.87 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003416/0.3463, allocations: 351.1 kB / 0.5009 GB, free: 27.55 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.303e-05/0.3463, allocations: 9.75 kB / 0.5009 GB, free: 27.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.3463, allocations: 12.09 kB / 0.5009 GB, free: 27.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/0.3465, allocations: 157.2 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.3465, allocations: 4.375 kB / 0.501 GB, free: 27.38 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.3465, allocations: 18.56 kB / 0.5011 GB, free: 27.37 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.782e-05/0.3466, allocations: 45.97 kB / 0.5011 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3466, allocations: 0 / 0.5011 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.3466, allocations: 3.312 kB / 0.5011 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3466, allocations: 0 / 0.5011 GB, free: 27.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.348e-05/0.3467, allocations: 20.78 kB / 0.5011 GB, free: 27.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000139/0.3468, allocations: 131.5 kB / 0.5013 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.347, allocations: 52.72 kB / 0.5013 GB, free: 27.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.347, allocations: 21.91 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.347, allocations: 4 kB / 0.5013 GB, free: 27.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.3472, allocations: 67 kB / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.3472, allocations: 0 / 0.5014 GB, free: 27.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002525/0.3474, allocations: 105.5 kB / 0.5015 GB, free: 27.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.3475, allocations: 54.66 kB / 0.5015 GB, free: 26.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.3476, allocations: 223 kB / 0.5018 GB, free: 26.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-06/0.3476, allocations: 25.7 kB / 0.5018 GB, free: 26.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.981e-05/0.3477, allocations: 109.5 kB / 0.5019 GB, free: 26.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.3477, allocations: 10.95 kB / 0.5019 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.3477, allocations: 20.03 kB / 0.5019 GB, free: 26.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.551e-05/0.3478, allocations: 328.6 kB / 0.5022 GB, free: 26.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.754e-05/0.3478, allocations: 13.53 kB / 0.5022 GB, free: 26.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.3479, allocations: 34.58 kB / 0.5023 GB, free: 26.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.568e-05/0.348, allocations: 48.59 kB / 0.5023 GB, free: 26.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.348, allocations: 0 / 0.5023 GB, free: 26.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001313/0.3481, allocations: 87.97 kB / 0.5024 GB, free: 26.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3481, allocations: 6.156 kB / 0.5024 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.3481, allocations: 0 / 0.5024 GB, free: 26.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.3481, allocations: 4.031 kB / 0.5024 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.925e-05/0.3482, allocations: 16.12 kB / 0.5024 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.088e-06/0.3482, allocations: 3.188 kB / 0.5024 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.3482, allocations: 7.188 kB / 0.5024 GB, free: 26.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.3483, allocations: 4 kB / 0.5024 GB, free: 26.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.995e-05/0.3483, allocations: 127.5 kB / 0.5026 GB, free: 26.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.96e-05/0.3483, allocations: 15.06 kB / 0.5026 GB, free: 26.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.3485, allocations: 106.3 kB / 0.5027 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3485, allocations: 3.562 kB / 0.5027 GB, free: 26.01 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3485, allocations: 4 kB / 0.5027 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3485, allocations: 1.25 kB / 0.5027 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.852e-05/0.3486, allocations: 136.1 kB / 0.5028 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3486, allocations: 3.516 kB / 0.5028 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.457e-05/0.3486, allocations: 3.25 kB / 0.5028 GB, free: 25.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3486, allocations: 3.938 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3486, allocations: 7.188 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.3487, allocations: 128 / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3487, allocations: 4 kB / 0.5028 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.3488, allocations: 117.8 kB / 0.503 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.918e-05/0.3488, allocations: 18.97 kB / 0.503 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/0.3489, allocations: 7.125 kB / 0.503 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.715e-05/0.3489, allocations: 4 kB / 0.503 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.23e-05/0.3489, allocations: 6.734 kB / 0.503 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.3489, allocations: 7 kB / 0.503 GB, free: 25.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.349, allocations: 169.9 kB / 0.5032 GB, free: 25.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.349, allocations: 7.281 kB / 0.5032 GB, free: 25.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.3493, allocations: 16.97 kB / 0.5032 GB, free: 25.63 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001542/0.3508, allocations: 440.9 kB / 0.5036 GB, free: 25.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.351, allocations: 45.47 kB / 0.5036 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.351, allocations: 0 / 0.5036 GB, free: 25.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.593e-05/0.351, allocations: 24.58 kB / 0.5037 GB, free: 25.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.3513, allocations: 33.75 kB / 0.5037 GB, free: 25.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.3516, allocations: 228.7 kB / 0.5039 GB, free: 25.24 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.267e-05/0.3517, allocations: 96.02 kB / 0.504 GB, free: 25.17 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.393e-05/0.3517, allocations: 14.23 kB / 0.504 GB, free: 25.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.602e-05/0.3518, allocations: 14.56 kB / 0.504 GB, free: 25.16 MB / 446.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3518, allocations: 2.938 kB / 0.504 GB, free: 25.16 MB / 446.1 MB Notification: Performance of Templates: time 0.003892/0.3556, allocations: 1.616 MB / 0.5056 GB, free: 24.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test65.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.959131406969391]