Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.00164, allocations: 114.6 kB / 17.04 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002294/0.002294, allocations: 196 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.563/1.563, allocations: 205.1 MB / 223.8 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2173/0.2173, allocations: 43.53 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 72.42 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1138, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003114/0.117, allocations: 1.693 MB / 443.7 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1181, allocations: 0.7962 MB / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.004e-05/0.1182, allocations: 0 / 444.5 MB, free: 3.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1185, allocations: 35.77 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1187, allocations: 51.77 kB / 444.6 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.119, allocations: 91.62 kB / 444.6 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001569/0.1191, allocations: 99.75 kB / 444.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.1193, allocations: 8.219 kB / 444.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.1193, allocations: 39.8 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.712e-05/0.1194, allocations: 35.84 kB / 444.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.1195, allocations: 4 kB / 444.8 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.1195, allocations: 35.98 kB / 444.9 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.553e-05/0.1196, allocations: 23.92 kB / 444.9 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.1197, allocations: 27.73 kB / 444.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.1199, allocations: 115.6 kB / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.1199, allocations: 0 / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1199, allocations: 0 / 445 MB, free: 3.086 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.1199, allocations: 0 / 445 MB, free: 3.086 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005352/0.1204, allocations: 403 kB / 445.4 MB, free: 2.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.1205, allocations: 11.89 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.1205, allocations: 8.844 kB / 445.4 MB, free: 2.625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1208, allocations: 212.6 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1208, allocations: 7.938 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.399e-05/0.1209, allocations: 4 kB / 445.7 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.121, allocations: 57.61 kB / 445.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.121, allocations: 3.938 kB / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1211, allocations: 0 / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1211, allocations: 0 / 445.7 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.1211, allocations: 19.98 kB / 445.7 MB, free: 2.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002851/0.1214, allocations: 280.9 kB / 446 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.1216, allocations: 62.62 kB / 446.1 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/0.1217, allocations: 20.84 kB / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.1217, allocations: 0 / 446.1 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001228/0.1218, allocations: 63.39 kB / 446.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.1218, allocations: 7.984 kB / 446.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004647/0.1223, allocations: 169.2 kB / 446.3 MB, free: 1.609 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.596e-05/0.1223, allocations: 59.34 kB / 446.4 MB, free: 1.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.1224, allocations: 159 kB / 446.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.698e-06/0.1225, allocations: 25.7 kB / 446.6 MB, free: 1.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.511e-05/0.1225, allocations: 100.1 kB / 446.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1225, allocations: 27.64 kB / 446.7 MB, free: 1.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.1226, allocations: 25.7 kB / 446.7 MB, free: 1.18 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.101e-05/0.1226, allocations: 326.8 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.981e-05/0.1227, allocations: 20 kB / 447.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.1227, allocations: 37.64 kB / 447.1 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.612e-05/0.1228, allocations: 53.7 kB / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1228, allocations: 0 / 447.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001448/0.123, allocations: 101.5 kB / 447.2 MB, free: 0.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.123, allocations: 8.031 kB / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.123, allocations: 0 / 447.3 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.123, allocations: 11.92 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.1231, allocations: 16.31 kB / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1231, allocations: 0 / 447.3 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.988e-05/0.1232, allocations: 4 kB / 447.3 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.1232, allocations: 8 kB / 447.3 MB, free: 0.5781 MB / 318.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 (10): * Single equations (assignments): 10 * 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.878e-05/0.1233, allocations: 133.1 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.1233, allocations: 11.81 kB / 447.4 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.885e-05/0.1233, allocations: 20.66 kB / 447.5 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1233, allocations: 7.984 kB / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1233, allocations: 0 / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1234, allocations: 0 / 447.5 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.1237, allocations: 395.6 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1237, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.1237, allocations: 11.94 kB / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.1238, allocations: 0 / 447.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.1238, allocations: 4.031 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1238, allocations: 4 kB / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1238, allocations: 0 / 447.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002179/0.124, allocations: 204.2 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1241, allocations: 85 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.1241, allocations: 4 kB / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.504e-05/0.1242, allocations: 0 / 448.2 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.1242, allocations: 15.98 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.1242, allocations: 4 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.892e-05/0.1243, allocations: 127.9 kB / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1243, allocations: 0 / 448.3 MB, free: 15.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002515/0.1246, allocations: 24 kB / 448.3 MB, free: 15.44 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 6 * 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.001076/0.1257, allocations: 463.7 kB / 448.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001775/0.1259, allocations: 67.84 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1259, allocations: 0 / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.409e-05/0.126, allocations: 31.92 kB / 448.9 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.1263, allocations: 27.92 kB / 448.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003783/0.1267, allocations: 203.3 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1269, allocations: 0.7002 MB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.88e-05/0.127, allocations: 21.17 kB / 449.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.127, allocations: 19.38 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.127, allocations: 4 kB / 449.8 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Templates: time 0.004288/0.1313, allocations: 1.684 MB / 451.5 MB, free: 12.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches