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.001155/0.001155, allocations: 111.2 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.001122/0.001122, 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.522/1.522, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2187/0.2187, allocations: 43.51 MB / 314.7 MB, free: 500 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.001493/0.001493, allocations: 67.97 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1172, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003444/0.1207, allocations: 1.894 MB / 443.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1221, allocations: 0.8428 MB / 444.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.1223, allocations: 4 kB / 444.7 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.1226, allocations: 43.72 kB / 444.8 MB, free: 3.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1228, allocations: 59.67 kB / 444.8 MB, free: 3.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.1232, allocations: 107.7 kB / 444.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.1234, allocations: 139.5 kB / 445.1 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.1235, allocations: 33.42 kB / 445.1 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.1236, allocations: 47.78 kB / 445.1 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.699e-05/0.1237, allocations: 55.7 kB / 445.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.1237, allocations: 4 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.1238, allocations: 47.98 kB / 445.3 MB, free: 2.867 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.99e-05/0.1238, allocations: 31.8 kB / 445.3 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.554e-05/0.1239, allocations: 47.67 kB / 445.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.1241, allocations: 143.6 kB / 445.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1241, allocations: 0 / 445.5 MB, free: 2.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1241, allocations: 4 kB / 445.5 MB, free: 2.645 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.1242, allocations: 4 kB / 445.5 MB, free: 2.641 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.0005078/0.1247, allocations: 484.3 kB / 446 MB, free: 2.113 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.76e-05/0.1247, allocations: 11.89 kB / 446 MB, free: 2.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.1248, allocations: 16.75 kB / 446 MB, free: 2.086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.125, allocations: 220.1 kB / 446.2 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.125, allocations: 4.375 kB / 446.2 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.1251, allocations: 12.12 kB / 446.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.1253, allocations: 119.8 kB / 446.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1253, allocations: 0 / 446.3 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.1253, allocations: 4 kB / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1253, allocations: 0 / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001367/0.1254, allocations: 51.89 kB / 446.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.126, allocations: 0.5009 MB / 446.9 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1263, allocations: 94.58 kB / 447 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.361e-05/0.1264, allocations: 44.84 kB / 447 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.1264, allocations: 0 / 447 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1266, allocations: 79.36 kB / 447.1 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.212e-06/0.1266, allocations: 3.938 kB / 447.1 MB, free: 0.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003358/0.1269, allocations: 141.5 kB / 447.2 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.1269, allocations: 55.34 kB / 447.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.1271, allocations: 199.3 kB / 447.5 MB, free: 424 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1271, allocations: 33.69 kB / 447.5 MB, free: 384 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.851e-05/0.1271, allocations: 116 kB / 447.6 MB, free: 264 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.1272, allocations: 23.66 kB / 447.7 MB, free: 240 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.1272, allocations: 29.7 kB / 447.7 MB, free: 204 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1273, allocations: 322.8 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.98e-05/0.1274, allocations: 27.98 kB / 448 MB, free: 15.85 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.1275, allocations: 75.14 kB / 448.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1277, allocations: 100.2 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.1277, allocations: 3.938 kB / 448.2 MB, free: 15.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002735/0.128, allocations: 133.4 kB / 448.3 MB, free: 15.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1281, allocations: 9.234 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1281, allocations: 4 kB / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1281, allocations: 0 / 448.3 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.903e-05/0.1282, allocations: 28.34 kB / 448.4 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.1282, allocations: 4.109 kB / 448.4 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.78e-05/0.1283, allocations: 11.91 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.164e-05/0.1283, allocations: 12 kB / 448.4 MB, free: 15.44 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.0001053/0.1284, allocations: 125.7 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.1285, allocations: 23.73 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1285, allocations: 17.39 kB / 448.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.1285, allocations: 7.938 kB / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1285, allocations: 0 / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1285, allocations: 0 / 448.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001949/0.1287, allocations: 213.5 kB / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1288, allocations: 0 / 448.8 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.307e-05/0.1288, allocations: 15.98 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1288, allocations: 4 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.178e-06/0.1289, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.1289, allocations: 3.938 kB / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1289, allocations: 0 / 448.8 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.1292, allocations: 184.8 kB / 449 MB, free: 14.78 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.84e-05/0.1293, allocations: 85.05 kB / 449.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.1293, allocations: 8 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.1294, allocations: 7.922 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.981e-05/0.1294, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1295, allocations: 8 kB / 449.1 MB, free: 14.65 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000121/0.1296, allocations: 141.2 kB / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1296, allocations: 0 / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002631/0.1299, allocations: 36.02 kB / 449.3 MB, free: 14.48 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.0009134/0.1308, allocations: 421.2 kB / 449.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.131, allocations: 75.91 kB / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.131, allocations: 0 / 449.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.253e-05/0.1311, allocations: 39.91 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.0002669/0.1314, allocations: 35.67 kB / 449.8 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004793/0.1319, allocations: 260.4 kB / 450.1 MB, free: 13.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/0.1322, allocations: 0.7123 MB / 450.8 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.1323, allocations: 17.42 kB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.529e-05/0.1323, allocations: 23.38 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1323, allocations: 0 / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of Templates: time 0.004429/0.1368, allocations: 1.873 MB / 452.7 MB, free: 11.07 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 gbode -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