Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.0009587/0.0009587, allocations: 195 kB / 17.97 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.463/1.463, 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.2533/0.2533, allocations: 43.52 MB / 314.7 MB, free: 492 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.001468/0.001468, allocations: 72.45 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1174, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002915/0.1204, allocations: 1.902 MB / 443.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1215, allocations: 0.8428 MB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.1216, allocations: 4 kB / 444.7 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.1219, allocations: 47.69 kB / 444.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001824/0.1221, allocations: 59.69 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002245/0.1223, allocations: 103.7 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1225, allocations: 139.5 kB / 445.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.1226, allocations: 33.42 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.1227, allocations: 51.78 kB / 445.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.434e-05/0.1228, allocations: 51.7 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1228, allocations: 4 kB / 445.2 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.107e-05/0.1229, allocations: 47.98 kB / 445.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.367e-05/0.123, allocations: 31.8 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.062e-05/0.123, allocations: 55.66 kB / 445.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002007/0.1233, allocations: 139.6 kB / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1233, allocations: 0 / 445.5 MB, free: 2.629 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1233, allocations: 4 kB / 445.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1233, allocations: 0 / 445.5 MB, free: 2.625 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005624/0.1239, allocations: 484.3 kB / 446 MB, free: 2.098 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1239, allocations: 11.89 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.1239, allocations: 20.73 kB / 446 MB, free: 2.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1242, allocations: 220.1 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.1242, allocations: 12.36 kB / 446.2 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.66e-05/0.1243, allocations: 8.125 kB / 446.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.1245, allocations: 115.9 kB / 446.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.1245, allocations: 4 kB / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.1245, allocations: 0 / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.1245, allocations: 0 / 446.3 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.1247, allocations: 55.91 kB / 446.4 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.1251, allocations: 0.4931 MB / 446.9 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.1254, allocations: 98.59 kB / 447 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.1255, allocations: 36.84 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1255, allocations: 0 / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1257, allocations: 79.38 kB / 447.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.1257, allocations: 0 / 447.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003324/0.126, allocations: 149.4 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.1261, allocations: 59.33 kB / 447.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1262, allocations: 195.3 kB / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.1262, allocations: 25.7 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.1263, allocations: 120 kB / 447.6 MB, free: 252 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.1263, allocations: 23.66 kB / 447.7 MB, free: 228 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.1263, allocations: 29.7 kB / 447.7 MB, free: 192 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1265, allocations: 330.8 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.538e-05/0.1266, allocations: 27.98 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.728e-05/0.1267, allocations: 63.89 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.1269, allocations: 108.2 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1269, allocations: 3.938 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002622/0.1271, allocations: 133.3 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.1272, allocations: 5.25 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1272, allocations: 4 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1272, allocations: 4.125 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.1273, allocations: 31.86 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1273, allocations: 0 / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.1274, allocations: 11.91 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.1274, allocations: 4.469 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001118/0.1275, allocations: 137.7 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1275, allocations: 11.81 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.1276, allocations: 17.39 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.1276, allocations: 11.94 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1276, allocations: 3.938 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1276, allocations: 3.984 kB / 448.6 MB, free: 15.24 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1278, allocations: 209.5 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1278, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.793e-05/0.1279, allocations: 12 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1279, allocations: 4 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.1279, allocations: 4 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1279, allocations: 3.938 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1279, allocations: 3.984 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.1283, allocations: 180.8 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.301e-05/0.1284, allocations: 85.05 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.1284, allocations: 0 / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.31e-05/0.1285, allocations: 15.92 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.1285, allocations: 4 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1285, allocations: 7.984 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.1286, allocations: 141.3 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1287, allocations: 0 / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002831/0.1289, allocations: 36.02 kB / 449.3 MB, free: 14.46 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009517/0.1299, allocations: 423.1 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002379/0.1302, allocations: 79.89 kB / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1302, allocations: 0 / 449.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1303, allocations: 40.17 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1306, allocations: 31.97 kB / 449.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004711/0.131, allocations: 252.1 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1313, allocations: 0.7123 MB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.704e-05/0.1314, allocations: 17.8 kB / 450.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.668e-05/0.1314, allocations: 23.44 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1315, allocations: 0 / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004708/0.1362, allocations: 1.872 MB / 452.7 MB, free: 11.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches