Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001476/0.001476, allocations: 171.9 kB / 16.76 MB, free: 4.906 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 89.41 kB / 271.3 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3701/0.3701, allocations: 43.56 MB / 363.1 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005538/0.000554, allocations: 16 kB / 432.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1431, allocations: 58.84 MB / 491.5 MB, free: 10.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3098/0.453, allocations: 86.38 MB / 0.5643 GB, free: 15.62 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4533, allocations: 78.42 kB / 0.5644 GB, free: 15.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009188/0.4625, allocations: 3.606 MB / 0.5679 GB, free: 11.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4625, allocations: 0 / 0.5679 GB, free: 11.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.386e-05/0.4625, allocations: 0 / 0.5679 GB, free: 11.98 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004476/0.463, allocations: 394.7 kB / 0.5683 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.463, allocations: 8.031 kB / 0.5683 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.4631, allocations: 9.875 kB / 0.5683 GB, free: 11.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.4633, allocations: 204.2 kB / 0.5685 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.4633, allocations: 4.375 kB / 0.5685 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4633, allocations: 384 / 0.5685 GB, free: 11.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001226/0.4635, allocations: 46.25 kB / 0.5685 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.4635, allocations: 192 / 0.5685 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.4635, allocations: 3.938 kB / 0.5685 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.4635, allocations: 4 kB / 0.5685 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.4636, allocations: 28.8 kB / 0.5686 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003627/0.464, allocations: 277 kB / 0.5688 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4642, allocations: 46.5 kB / 0.5689 GB, free: 10.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.314e-05/0.4643, allocations: 27.77 kB / 0.5689 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.4643, allocations: 4 kB / 0.5689 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.4643, allocations: 34.56 kB / 0.5689 GB, free: 10.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4643, allocations: 0 / 0.5689 GB, free: 10.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005648/0.4649, allocations: 161.2 kB / 0.5691 GB, free: 10.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.4649, allocations: 51.41 kB / 0.5691 GB, free: 10.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.4651, allocations: 157.8 kB / 0.5693 GB, free: 10.36 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.4651, allocations: 29.7 kB / 0.5693 GB, free: 10.33 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.4652, allocations: 100 kB / 0.5694 GB, free: 10.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.4652, allocations: 19.73 kB / 0.5694 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4652, allocations: 0 / 0.5694 GB, free: 10.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4654, allocations: 327 kB / 0.5698 GB, free: 9.879 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.668e-05/0.4655, allocations: 23.98 kB / 0.5698 GB, free: 9.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.834e-05/0.4655, allocations: 28.05 kB / 0.5698 GB, free: 9.828 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.4656, allocations: 52.83 kB / 0.5699 GB, free: 9.773 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4657, allocations: 3.938 kB / 0.5699 GB, free: 9.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001935/0.4659, allocations: 93.52 kB / 0.5699 GB, free: 9.672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4659, allocations: 4 kB / 0.57 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.4659, allocations: 0 / 0.57 GB, free: 9.668 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.628e-06/0.4659, allocations: 4 kB / 0.57 GB, free: 9.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.466, allocations: 15.98 kB / 0.57 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.466, allocations: 0 / 0.57 GB, free: 9.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.969e-05/0.466, allocations: 4 kB / 0.57 GB, free: 9.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.466, allocations: 4 kB / 0.57 GB, free: 9.641 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.79e-05/0.4661, allocations: 125.8 kB / 0.5701 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.4662, allocations: 7.906 kB / 0.5701 GB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.4664, allocations: 105.9 kB / 0.5702 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.4664, allocations: 0 / 0.5702 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4664, allocations: 0 / 0.5702 GB, free: 9.395 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4664, allocations: 4 kB / 0.5702 GB, free: 9.391 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.4668, allocations: 366.5 kB / 0.5706 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4668, allocations: 1.031 kB / 0.5706 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.038e-05/0.4669, allocations: 11.98 kB / 0.5706 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4669, allocations: 7.938 kB / 0.5706 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.4669, allocations: 0 / 0.5706 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.4669, allocations: 320 / 0.5706 GB, free: 8.957 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.467, allocations: 4 kB / 0.5706 GB, free: 8.953 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.4672, allocations: 187.4 kB / 0.5708 GB, free: 8.754 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.904e-05/0.4672, allocations: 89 kB / 0.5708 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.4673, allocations: 0 / 0.5708 GB, free: 8.648 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.4673, allocations: 16 kB / 0.5709 GB, free: 8.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.483e-05/0.4674, allocations: 7.922 kB / 0.5709 GB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.4674, allocations: 3.938 kB / 0.5709 GB, free: 8.621 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001035/0.4675, allocations: 128.9 kB / 0.571 GB, free: 8.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4675, allocations: 0 / 0.571 GB, free: 8.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.4677, allocations: 20 kB / 0.571 GB, free: 8.48 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008354/0.4686, allocations: 414.3 kB / 0.5714 GB, free: 8.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.4688, allocations: 47.97 kB / 0.5715 GB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4688, allocations: 0 / 0.5715 GB, free: 8.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.658e-05/0.4688, allocations: 27.98 kB / 0.5715 GB, free: 8.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.4691, allocations: 23.97 kB / 0.5715 GB, free: 8.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.4695, allocations: 203.4 kB / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.4698, allocations: 0.7004 MB / 0.5724 GB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.739e-05/0.4698, allocations: 11.98 kB / 0.5724 GB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/0.4699, allocations: 19.38 kB / 0.5724 GB, free: 7.086 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4699, allocations: 0 / 0.5724 GB, free: 7.086 MB / 394.7 MB Notification: Performance of Templates: time 0.003159/0.473, allocations: 1.069 MB / 0.5735 GB, free: 6.023 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches