Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002225/0.002225, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001601/0.001601, allocations: 91.5 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2982/0.2982, allocations: 43.5 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.557e-05/1.557e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3888, allocations: 58.85 MB / 477.1 MB, free: 5.27 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.5472, allocations: 87.73 MB / 0.5516 GB, free: 11.58 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5475, allocations: 59.98 kB / 0.5516 GB, free: 11.52 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05893/0.6064, allocations: 12.84 MB / 0.5642 GB, free: 14.67 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.6065, allocations: 0 / 0.5642 GB, free: 14.67 MB / 411.1 MB Notification: Performance of Transformations before backend: time 6.011e-05/0.6066, allocations: 8 kB / 0.5642 GB, free: 14.66 MB / 411.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001523/0.6081, allocations: 0.7473 MB / 0.5649 GB, free: 13.84 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6082, allocations: 16.03 kB / 0.5649 GB, free: 13.82 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001719/0.6084, allocations: 55.3 kB / 0.565 GB, free: 13.77 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001319/0.6097, allocations: 487.3 kB / 0.5654 GB, free: 13.25 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.6097, allocations: 4 kB / 0.5654 GB, free: 13.25 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.6098, allocations: 8 kB / 0.5654 GB, free: 13.24 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003275/0.6102, allocations: 104.4 kB / 0.5655 GB, free: 13.14 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.6107, allocations: 237.2 kB / 0.5658 GB, free: 12.87 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.6107, allocations: 0 / 0.5658 GB, free: 12.87 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.6108, allocations: 4 kB / 0.5658 GB, free: 12.86 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.619e-06/0.6108, allocations: 4 kB / 0.5658 GB, free: 12.86 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.6126, allocations: 0.8879 MB / 0.5666 GB, free: 11.92 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000604/0.6132, allocations: 267 kB / 0.5669 GB, free: 11.62 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002327/0.6134, allocations: 99.55 kB / 0.567 GB, free: 11.52 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.6135, allocations: 11.98 kB / 0.567 GB, free: 11.5 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.614, allocations: 218.5 kB / 0.5672 GB, free: 11.27 MB / 411.1 MB Notification: Performance of pre-optimization done (n=24): time 3.076e-06/0.614, allocations: 0 / 0.5672 GB, free: 11.27 MB / 411.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009625/0.615, allocations: 297.1 kB / 0.5675 GB, free: 10.97 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.6152, allocations: 350.1 kB / 0.5678 GB, free: 10.55 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.6163, allocations: 0.5449 MB / 0.5684 GB, free: 9.996 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 6.554e-05/0.6164, allocations: 33.7 kB / 0.5684 GB, free: 9.957 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.6166, allocations: 247 kB / 0.5686 GB, free: 9.715 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.6167, allocations: 51.27 kB / 0.5687 GB, free: 9.664 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.6168, allocations: 3.938 kB / 0.5687 GB, free: 9.66 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.6169, allocations: 326.8 kB / 0.569 GB, free: 9.332 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.6171, allocations: 75.98 kB / 0.5691 GB, free: 9.258 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/0.6175, allocations: 241.1 kB / 0.5693 GB, free: 8.961 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.6178, allocations: 98.58 kB / 0.5694 GB, free: 8.867 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6178, allocations: 0 / 0.5694 GB, free: 8.867 MB / 411.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006823/0.6185, allocations: 241.3 kB / 0.5696 GB, free: 8.625 MB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.6186, allocations: 11.95 kB / 0.5696 GB, free: 8.613 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.6186, allocations: 0 / 0.5696 GB, free: 8.613 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.6186, allocations: 4 kB / 0.5696 GB, free: 8.609 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000495/0.6191, allocations: 59.89 kB / 0.5697 GB, free: 8.551 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.6192, allocations: 0 / 0.5697 GB, free: 8.551 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000423/0.6196, allocations: 36.23 kB / 0.5697 GB, free: 8.516 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.6196, allocations: 12 kB / 0.5697 GB, free: 8.504 MB / 411.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 0.0001923/0.6198, allocations: 138.1 kB / 0.5699 GB, free: 8.363 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.62, allocations: 55.44 kB / 0.5699 GB, free: 8.309 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009795/0.621, allocations: 333.3 kB / 0.5702 GB, free: 7.977 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.621, allocations: 8 kB / 0.5703 GB, free: 7.969 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.621, allocations: 4 kB / 0.5703 GB, free: 7.965 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.621, allocations: 0 / 0.5703 GB, free: 7.965 MB / 411.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.6217, allocations: 401.8 kB / 0.5706 GB, free: 7.535 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6217, allocations: 3.938 kB / 0.5706 GB, free: 7.531 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.622, allocations: 27.98 kB / 0.5707 GB, free: 7.504 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.622, allocations: 4 kB / 0.5707 GB, free: 7.5 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.6221, allocations: 11.92 kB / 0.5707 GB, free: 7.488 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6221, allocations: 0 / 0.5707 GB, free: 7.488 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/0.6221, allocations: 7.953 kB / 0.5707 GB, free: 7.48 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008869/0.623, allocations: 401.9 kB / 0.5711 GB, free: 7.039 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/0.6233, allocations: 156.4 kB / 0.5712 GB, free: 6.867 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.6234, allocations: 12 kB / 0.5712 GB, free: 6.855 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003346/0.6238, allocations: 15.98 kB / 0.5713 GB, free: 6.84 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.6239, allocations: 35.94 kB / 0.5713 GB, free: 6.805 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.624, allocations: 16 kB / 0.5713 GB, free: 6.789 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0008672/0.6249, allocations: 438.9 kB / 0.5717 GB, free: 6.359 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6249, allocations: 0 / 0.5717 GB, free: 6.359 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.000893/0.6258, allocations: 111.8 kB / 0.5718 GB, free: 6.25 MB / 411.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001306/0.6271, allocations: 402.8 kB / 0.5722 GB, free: 5.887 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.628, allocations: 244.1 kB / 0.5724 GB, free: 5.648 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.628, allocations: 7.938 kB / 0.5725 GB, free: 5.641 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.6283, allocations: 127.8 kB / 0.5726 GB, free: 5.516 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.6295, allocations: 133.8 kB / 0.5727 GB, free: 5.387 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001784/0.6313, allocations: 0.643 MB / 0.5733 GB, free: 4.703 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.6319, allocations: 0.8546 MB / 0.5742 GB, free: 3.82 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000328/0.6322, allocations: 51.41 kB / 0.5742 GB, free: 3.77 MB / 411.1 MB Notification: Performance of SimCode: time 1.302e-06/0.6322, allocations: 0 / 0.5742 GB, free: 3.77 MB / 411.1 MB Notification: Performance of Templates: time 0.01825/0.6505, allocations: 7.156 MB / 0.5812 GB, free: 12.62 MB / 427.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches