Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,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.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009078/0.0009077, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009254/0.0009257, allocations: 172.7 kB / 16.57 MB, free: 6.852 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.36/1.36, allocations: 205.4 MB / 222.7 MB, free: 5.633 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3228/0.3228, allocations: 43.54 MB / 314.5 MB, free: 9.047 MB / 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.0005386/0.0005387, allocations: 16 kB / 383.9 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1098, allocations: 58.85 MB / 442.8 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.00212/0.1119, allocations: 1.391 MB / 444.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.1132, allocations: 0.7266 MB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.903e-05/0.1133, allocations: 3.938 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1137, allocations: 87.73 kB / 445 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.1139, allocations: 63.84 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002791/0.1142, allocations: 75.78 kB / 445.1 MB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.1144, allocations: 67.86 kB / 445.2 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.512e-05/0.1145, allocations: 16.19 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.1146, allocations: 43.84 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.64e-05/0.1147, allocations: 47.83 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.1147, allocations: 0 / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1148, allocations: 31.92 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.1149, allocations: 23.91 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.115, allocations: 41.64 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1151, allocations: 96.08 kB / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1151, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1151, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1151, allocations: 0 / 445.5 MB, free: 10.59 MB / 382.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.0005275/0.1157, allocations: 414.8 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.1157, allocations: 8.031 kB / 445.9 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.1158, allocations: 11.81 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.1161, allocations: 214.8 kB / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1161, allocations: 4 kB / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1161, allocations: 8 kB / 446.1 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.1163, allocations: 49.67 kB / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1163, allocations: 0 / 446.2 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1163, allocations: 4 kB / 446.2 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.1163, allocations: 3.953 kB / 446.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.028e-05/0.1164, allocations: 19.98 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003726/0.1168, allocations: 292.8 kB / 446.5 MB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.117, allocations: 62.61 kB / 446.5 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.117, allocations: 7.938 kB / 446.5 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1172, allocations: 67.47 kB / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.1172, allocations: 0 / 446.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005627/0.1178, allocations: 173.2 kB / 446.8 MB, free: 9.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.1179, allocations: 51.41 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.1181, allocations: 218.7 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.1181, allocations: 29.7 kB / 447.1 MB, free: 8.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/0.1182, allocations: 112 kB / 447.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1182, allocations: 23.66 kB / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.1182, allocations: 0 / 447.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1183, allocations: 322.8 kB / 447.5 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.611e-05/0.1184, allocations: 31.92 kB / 447.5 MB, free: 8.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.1185, allocations: 33.7 kB / 447.6 MB, free: 8.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.513e-05/0.1185, allocations: 20 kB / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1185, allocations: 0 / 447.6 MB, free: 8.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001851/0.1187, allocations: 109.5 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.1188, allocations: 11.89 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1188, allocations: 0 / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.1188, allocations: 0 / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.564e-05/0.1189, allocations: 20.03 kB / 447.7 MB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.1189, allocations: 3.984 kB / 447.7 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.84e-05/0.119, allocations: 4 kB / 447.7 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.119, allocations: 0 / 447.7 MB, free: 8.074 MB / 382.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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/0.1191, allocations: 129.8 kB / 447.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.1191, allocations: 20.12 kB / 447.9 MB, free: 7.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.886e-05/0.1192, allocations: 17.36 kB / 447.9 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1192, allocations: 4 kB / 447.9 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1192, allocations: 4 kB / 447.9 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1192, allocations: 7.984 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.1197, allocations: 399.3 kB / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1197, allocations: 0 / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.252e-05/0.1197, allocations: 8 kB / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1197, allocations: 0 / 448.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1198, allocations: 4 kB / 448.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1198, allocations: 0 / 448.3 MB, free: 7.426 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.1198, allocations: 8.016 kB / 448.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.12, allocations: 214.1 kB / 448.5 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.1201, allocations: 85.02 kB / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1201, allocations: 7.938 kB / 448.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.337e-05/0.1202, allocations: 11.92 kB / 448.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1202, allocations: 8 kB / 448.7 MB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1203, allocations: 4 kB / 448.7 MB, free: 7.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.1204, allocations: 172.3 kB / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1204, allocations: 0 / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002682/0.1207, allocations: 28 kB / 448.9 MB, free: 6.855 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001102/0.1218, allocations: 465.5 kB / 449.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000183/0.122, allocations: 59.92 kB / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.122, allocations: 0 / 449.4 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.8e-05/0.1221, allocations: 23.98 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002649/0.1224, allocations: 28.12 kB / 449.4 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.1229, allocations: 278.3 kB / 449.7 MB, free: 6.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.1233, allocations: 0.7199 MB / 450.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.718e-05/0.1233, allocations: 9.203 kB / 450.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.1234, allocations: 19.42 kB / 450.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1234, allocations: 0 / 450.4 MB, free: 5.242 MB / 382.1 MB Notification: Performance of Templates: time 0.004257/0.1276, allocations: 1.606 MB / 452 MB, free: 3.637 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches