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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008187/0.0008187, allocations: 174 kB / 16.72 MB, free: 5.078 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.123/1.123, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007251/0.0007251, allocations: 86.36 kB / 271.2 MB, free: 8.238 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.2729/0.2729, allocations: 43.57 MB / 363.1 MB, free: 52.22 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003426, allocations: 16 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08595/0.08631, allocations: 58.84 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002033/0.08837, allocations: 1.9 MB / 492.8 MB, free: 8.875 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.09007, allocations: 1.378 MB / 494.2 MB, free: 7.488 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.902e-05/0.09018, allocations: 3.938 kB / 494.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.09048, allocations: 123.6 kB / 494.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.09079, allocations: 183.2 kB / 494.5 MB, free: 7.184 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.09193, allocations: 0.5265 MB / 495 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.09234, allocations: 462.5 kB / 495.5 MB, free: 6.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.09248, allocations: 77 kB / 495.6 MB, free: 6.125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001979/0.09269, allocations: 195 kB / 495.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.09287, allocations: 183.2 kB / 495.9 MB, free: 5.754 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.384e-05/0.09291, allocations: 8 kB / 495.9 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.09311, allocations: 119.9 kB / 496 MB, free: 5.629 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.09323, allocations: 111.6 kB / 496.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.09339, allocations: 200.6 kB / 496.3 MB, free: 5.316 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003584/0.09376, allocations: 427.3 kB / 496.8 MB, free: 4.898 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.09377, allocations: 0 / 496.8 MB, free: 4.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09378, allocations: 0 / 496.8 MB, free: 4.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.09379, allocations: 0 / 496.8 MB, free: 4.898 MB / 378.7 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.0009221/0.09471, allocations: 0.8124 MB / 497.6 MB, free: 4.012 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.09475, allocations: 12.03 kB / 497.6 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.664e-05/0.09481, allocations: 46.73 kB / 497.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.832e-05/0.09488, allocations: 52.28 kB / 497.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.09537, allocations: 456.1 kB / 498.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.09541, allocations: 16.59 kB / 498.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.78e-05/0.09544, allocations: 15.94 kB / 498.2 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.09585, allocations: 257.4 kB / 498.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.09587, allocations: 0 / 498.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.09589, allocations: 8 kB / 498.4 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.0959, allocations: 4 kB / 498.4 MB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002625/0.09617, allocations: 111.9 kB / 498.5 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009047/0.09709, allocations: 0.8717 MB / 499.4 MB, free: 2.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005703/0.09767, allocations: 298.5 kB / 499.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.09788, allocations: 99.39 kB / 499.8 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.09791, allocations: 16.16 kB / 499.8 MB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003735/0.09829, allocations: 218.6 kB / 0.4883 GB, free: 1.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=24): time 1.472e-06/0.09831, allocations: 0 / 0.4883 GB, free: 1.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008189/0.09913, allocations: 413.7 kB / 0.4887 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.09927, allocations: 342.1 kB / 0.489 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1465/0.2458, allocations: 0.628 MB / 0.4896 GB, free: 43.31 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.395e-05/0.2459, allocations: 34.59 kB / 0.4897 GB, free: 43.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2461, allocations: 227 kB / 0.4899 GB, free: 43.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.761e-05/0.2461, allocations: 67.61 kB / 0.49 GB, free: 43.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.407e-05/0.2462, allocations: 3.812 kB / 0.49 GB, free: 43.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.97e-05/0.2462, allocations: 364.8 kB / 0.4903 GB, free: 42.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.2464, allocations: 85.83 kB / 0.4904 GB, free: 42.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.2467, allocations: 241 kB / 0.4906 GB, free: 42.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2471, allocations: 229 kB / 0.4908 GB, free: 42.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.2471, allocations: 0.5 kB / 0.4908 GB, free: 42.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005309/0.2476, allocations: 316.1 kB / 0.4911 GB, free: 42.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2477, allocations: 5.406 kB / 0.4911 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2477, allocations: 1.75 kB / 0.4911 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2477, allocations: 7.344 kB / 0.4912 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.248, allocations: 55.81 kB / 0.4912 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.248, allocations: 4.797 kB / 0.4912 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.2482, allocations: 32.3 kB / 0.4912 GB, free: 42.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2482, allocations: 11.11 kB / 0.4913 GB, free: 42.63 MB / 378.7 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 () * Number of clocked 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.0001944/0.2484, allocations: 219.4 kB / 0.4915 GB, free: 42.51 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.2485, allocations: 54.27 kB / 0.4915 GB, free: 42.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.59e-05/0.2486, allocations: 59.58 kB / 0.4916 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2486, allocations: 3.562 kB / 0.4916 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2486, allocations: 2.594 kB / 0.4916 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.88e-06/0.2486, allocations: 3.297 kB / 0.4916 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.2489, allocations: 402.4 kB / 0.492 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.249, allocations: 1.094 kB / 0.492 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.2491, allocations: 24.2 kB / 0.492 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.2491, allocations: 9.203 kB / 0.492 GB, free: 42.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2491, allocations: 17.5 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.2491, allocations: 5.922 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2491, allocations: 0.875 kB / 0.492 GB, free: 42.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.2497, allocations: 359.2 kB / 0.4924 GB, free: 42.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.142e-05/0.2498, allocations: 140.6 kB / 0.4925 GB, free: 42.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.2499, allocations: 18.67 kB / 0.4925 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001596/0.25, allocations: 17.52 kB / 0.4925 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.716e-05/0.2501, allocations: 41.86 kB / 0.4926 GB, free: 42.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.037e-05/0.2502, allocations: 13.77 kB / 0.4926 GB, free: 42.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004537/0.2506, allocations: 466.8 kB / 0.493 GB, free: 41.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2506, allocations: 0 / 0.493 GB, free: 41.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.251, allocations: 99.73 kB / 0.4931 GB, free: 41.96 MB / 378.7 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.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * 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.00145/0.2525, allocations: 1.245 MB / 0.4943 GB, free: 41.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004793/0.2529, allocations: 224.8 kB / 0.4946 GB, free: 41.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.253, allocations: 0.9688 kB / 0.4946 GB, free: 41.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002449/0.2532, allocations: 125.5 kB / 0.4947 GB, free: 41.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006423/0.2539, allocations: 129.9 kB / 0.4948 GB, free: 41.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.2573, allocations: 2.759 MB / 0.4975 GB, free: 40.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.2576, allocations: 0.8439 MB / 0.4983 GB, free: 39.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/0.2578, allocations: 163.2 kB / 0.4985 GB, free: 39.55 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2578, allocations: 0 / 0.4985 GB, free: 39.55 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.224/3.482, allocations: 7.915 MB / 0.5062 GB, free: 38.76 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_IntegerTable.fmu > 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