Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001314, allocations: 112.6 kB / 17.04 MB, free: 6.078 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.001329/0.001329, allocations: 195 kB / 17.97 MB, free: 5.16 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.699/1.699, allocations: 205.1 MB / 223.8 MB, free: 12.24 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.2372/0.2372, allocations: 43.52 MB / 314.7 MB, free: 488 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.001459/0.001459, allocations: 67.31 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1215, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003064/0.1246, allocations: 1.898 MB / 443.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1261, allocations: 0.8389 MB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.1262, allocations: 4 kB / 444.7 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003403/0.1265, allocations: 43.7 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1268, allocations: 55.7 kB / 444.8 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.1271, allocations: 111.7 kB / 444.9 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.1273, allocations: 135.5 kB / 445.1 MB, free: 3.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1275, allocations: 29.44 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.135e-05/0.1276, allocations: 55.77 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.912e-05/0.1277, allocations: 47.72 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.187e-05/0.1277, allocations: 4 kB / 445.2 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.763e-05/0.1278, allocations: 51.97 kB / 445.2 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.1279, allocations: 27.86 kB / 445.3 MB, free: 2.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.1279, allocations: 55.61 kB / 445.3 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.1282, allocations: 139.6 kB / 445.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.1282, allocations: 8 kB / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1282, allocations: 0 / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.1282, allocations: 0 / 445.5 MB, free: 2.633 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.0005923/0.1288, allocations: 488.3 kB / 445.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1289, allocations: 11.89 kB / 446 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.1289, allocations: 16.75 kB / 446 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1292, allocations: 216.1 kB / 446.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.1293, allocations: 12.38 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1293, allocations: 8.125 kB / 446.2 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.1296, allocations: 119.8 kB / 446.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1296, allocations: 0 / 446.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1296, allocations: 0 / 446.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1296, allocations: 0 / 446.3 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.1297, allocations: 55.91 kB / 446.4 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.1302, allocations: 0.5086 MB / 446.9 MB, free: 1.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1305, allocations: 90.61 kB / 447 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.139e-05/0.1306, allocations: 40.83 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.1307, allocations: 0 / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.1308, allocations: 79.38 kB / 447.1 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1308, allocations: 4 kB / 447.1 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003634/0.1312, allocations: 141.5 kB / 447.2 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1312, allocations: 55.34 kB / 447.3 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.1314, allocations: 195.3 kB / 447.5 MB, free: 416 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.1314, allocations: 25.7 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.1315, allocations: 116 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.834e-05/0.1315, allocations: 27.64 kB / 447.6 MB, free: 236 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.751e-05/0.1315, allocations: 29.7 kB / 447.7 MB, free: 200 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.1317, allocations: 326.8 kB / 448 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.1318, allocations: 31.98 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1319, allocations: 63.89 kB / 448.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1321, allocations: 104.2 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.1321, allocations: 0 / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002707/0.1324, allocations: 141.6 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.1324, allocations: 7.938 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/0.1324, allocations: 4 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.1324, allocations: 0 / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.955e-05/0.1326, allocations: 35.98 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1326, allocations: 0 / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.364e-05/0.1326, allocations: 19.89 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.1327, allocations: 4 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.0001422/0.1328, allocations: 130.8 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.501e-05/0.1328, allocations: 11.81 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.827e-05/0.1329, allocations: 21.39 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1329, allocations: 7.938 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.1329, allocations: 4 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1329, allocations: 0 / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002285/0.1332, allocations: 213.5 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1332, allocations: 0 / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.59e-05/0.1333, allocations: 15.98 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1333, allocations: 0 / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.1333, allocations: 4 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.1333, allocations: 3.938 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1333, allocations: 0 / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.1337, allocations: 180.8 kB / 449 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.1338, allocations: 89.03 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1338, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.011e-05/0.1339, allocations: 7.938 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.974e-05/0.134, allocations: 7.984 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.134, allocations: 4 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.1341, allocations: 141.2 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1341, allocations: 4.062 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1344, allocations: 32.03 kB / 449.3 MB, free: 14.47 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.001033/0.1354, allocations: 413.4 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002298/0.1356, allocations: 79.89 kB / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1356, allocations: 0 / 449.7 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.445e-05/0.1357, allocations: 36.36 kB / 449.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.1361, allocations: 51.36 kB / 449.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.1366, allocations: 252 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.1369, allocations: 0.7123 MB / 450.8 MB, free: 12.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.137, allocations: 17.42 kB / 450.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.015e-05/0.137, allocations: 27.42 kB / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.137, allocations: 0 / 450.8 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Templates: time 0.004947/0.142, allocations: 1.876 MB / 452.7 MB, free: 11.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches