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.001428/0.001428, allocations: 119.2 kB / 17.09 MB, free: 5.965 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.001493/0.001493, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.542/1.542, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2188/0.2188, allocations: 43.52 MB / 314.8 MB, free: 456 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.001378/0.001378, allocations: 73.47 kB / 442.5 MB, free: 5.582 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1277, allocations: 57.8 MB / 0.4886 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003306/0.131, allocations: 1.69 MB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001347/0.1324, allocations: 0.7923 MB / 0.491 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.491e-05/0.1325, allocations: 7.938 kB / 0.491 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.1328, allocations: 39.77 kB / 0.4911 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.1331, allocations: 55.7 kB / 0.4911 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1334, allocations: 87.75 kB / 0.4912 GB, free: 9.023 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.1336, allocations: 95.7 kB / 0.4913 GB, free: 8.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.282e-05/0.1337, allocations: 20.19 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1338, allocations: 39.8 kB / 0.4914 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.002e-05/0.1339, allocations: 27.86 kB / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1339, allocations: 0 / 0.4914 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.134, allocations: 47.97 kB / 0.4914 GB, free: 8.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.975e-05/0.1341, allocations: 27.86 kB / 0.4915 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.464e-05/0.1342, allocations: 23.81 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.1344, allocations: 107.7 kB / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1344, allocations: 0 / 0.4916 GB, free: 8.641 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1344, allocations: 4 kB / 0.4916 GB, free: 8.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.58e-06/0.1344, allocations: 0 / 0.4916 GB, free: 8.637 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.0005871/0.135, allocations: 403 kB / 0.492 GB, free: 8.195 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1351, allocations: 15.83 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.1351, allocations: 8.844 kB / 0.492 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.1354, allocations: 208.6 kB / 0.4922 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.1355, allocations: 11.92 kB / 0.4922 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.157e-05/0.1355, allocations: 4 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.1356, allocations: 57.67 kB / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.1357, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.1357, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1357, allocations: 0 / 0.4923 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.642e-05/0.1358, allocations: 19.98 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003834/0.1362, allocations: 284.8 kB / 0.4926 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.1363, allocations: 54.69 kB / 0.4926 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.09e-05/0.1364, allocations: 28.83 kB / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.1364, allocations: 0 / 0.4926 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.1366, allocations: 67.39 kB / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.1366, allocations: 0 / 0.4927 GB, free: 7.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005616/0.1372, allocations: 169.2 kB / 0.4929 GB, free: 7.16 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1372, allocations: 63.34 kB / 0.4929 GB, free: 7.086 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/0.1374, allocations: 154.4 kB / 0.4931 GB, free: 6.922 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1374, allocations: 33.64 kB / 0.4931 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.821e-05/0.1375, allocations: 96.14 kB / 0.4932 GB, free: 6.785 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.1375, allocations: 31.62 kB / 0.4932 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.1376, allocations: 21.72 kB / 0.4933 GB, free: 6.727 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.1377, allocations: 322.8 kB / 0.4936 GB, free: 6.402 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.1378, allocations: 23.98 kB / 0.4936 GB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.961e-05/0.1378, allocations: 41.64 kB / 0.4936 GB, free: 6.332 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.138, allocations: 57.77 kB / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.138, allocations: 0 / 0.4937 GB, free: 6.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1382, allocations: 101.5 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.1382, allocations: 4 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1382, allocations: 0 / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1382, allocations: 11.97 kB / 0.4938 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.614e-05/0.1383, allocations: 19.92 kB / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1383, allocations: 0 / 0.4938 GB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.53e-05/0.1384, allocations: 7.938 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.1384, allocations: 0 / 0.4938 GB, free: 6.121 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 ($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 9.448e-05/0.1385, allocations: 129.8 kB / 0.4939 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.313e-05/0.1385, allocations: 11.81 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.1386, allocations: 16.66 kB / 0.494 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.1386, allocations: 4 kB / 0.494 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1386, allocations: 4 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.1386, allocations: 0 / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004334/0.139, allocations: 387.3 kB / 0.4943 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.139, allocations: 0 / 0.4943 GB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.503e-05/0.1391, allocations: 11.98 kB / 0.4944 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1391, allocations: 0 / 0.4944 GB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1391, allocations: 4 kB / 0.4944 GB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1391, allocations: 4.375 kB / 0.4944 GB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1391, allocations: 4.031 kB / 0.4944 GB, free: 5.484 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.1394, allocations: 200.2 kB / 0.4946 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.139e-05/0.1394, allocations: 85.02 kB / 0.4946 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.1395, allocations: 11.98 kB / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.1395, allocations: 0 / 0.4947 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.1396, allocations: 4 kB / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.1396, allocations: 11.98 kB / 0.4947 GB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.306e-05/0.1397, allocations: 131.9 kB / 0.4948 GB, free: 5.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1397, allocations: 0 / 0.4948 GB, free: 5.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002568/0.14, allocations: 24 kB / 0.4948 GB, free: 4.988 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 (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.001024/0.141, allocations: 463.8 kB / 0.4953 GB, free: 4.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.1412, allocations: 71.83 kB / 0.4953 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1412, allocations: 0 / 0.4953 GB, free: 4.504 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.137e-05/0.1413, allocations: 32.06 kB / 0.4954 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.1416, allocations: 35.44 kB / 0.4954 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004074/0.1421, allocations: 232.6 kB / 0.4956 GB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1423, allocations: 0.6963 MB / 0.4963 GB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.1424, allocations: 15.44 kB / 0.4963 GB, free: 3.441 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1424, allocations: 0 / 0.4963 GB, free: 3.441 MB / 382.1 MB Notification: Performance of Templates: time 0.003895/0.1463, allocations: 1.859 MB / 0.4981 GB, free: 1.582 MB / 382.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 -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