Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007615/0.0007616, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008167/0.0008165, allocations: 174 kB / 16.58 MB, free: 6.84 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.395/1.395, allocations: 205.4 MB / 222.8 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3662/0.3663, allocations: 43.55 MB / 314.6 MB, free: 8.719 MB / 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.0005389/0.0005391, allocations: 20 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1352, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.002091/0.1374, allocations: 1.391 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1392, allocations: 1.313 MB / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.596e-05/0.1393, allocations: 0 / 445.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002869/0.1396, allocations: 31.84 kB / 445.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1398, allocations: 47.83 kB / 445.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.14, allocations: 83.83 kB / 445.8 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1402, allocations: 79.77 kB / 445.8 MB, free: 9.984 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.1403, allocations: 16.2 kB / 445.8 MB, free: 9.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.776e-05/0.1404, allocations: 43.78 kB / 445.9 MB, free: 9.926 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.1406, allocations: 35.83 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.1406, allocations: 7.938 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.1407, allocations: 47.98 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.37e-05/0.1408, allocations: 19.92 kB / 446 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.553e-05/0.1409, allocations: 33.7 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.141, allocations: 108 kB / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.1411, allocations: 0 / 446.1 MB, free: 9.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1411, allocations: 3.938 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1411, allocations: 0 / 446.1 MB, free: 9.668 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005916/0.1417, allocations: 410.8 kB / 446.5 MB, free: 9.219 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1417, allocations: 8.031 kB / 446.6 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.748e-05/0.1418, allocations: 34.56 kB / 446.6 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.962e-05/0.1418, allocations: 11.91 kB / 446.6 MB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.1421, allocations: 203.5 kB / 446.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1421, allocations: 0 / 446.8 MB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.172e-05/0.1421, allocations: 4 kB / 446.8 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.1423, allocations: 75.33 kB / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1424, allocations: 0 / 446.9 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.1424, allocations: 7.938 kB / 446.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.1424, allocations: 0 / 446.9 MB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.557e-05/0.1425, allocations: 31.98 kB / 446.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004507/0.1429, allocations: 296.7 kB / 447.2 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.1432, allocations: 74.61 kB / 447.3 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.578e-05/0.1432, allocations: 20.86 kB / 447.3 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.1433, allocations: 11.98 kB / 447.3 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002159/0.1435, allocations: 71.34 kB / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.1435, allocations: 0 / 447.4 MB, free: 8.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005863/0.1441, allocations: 185.3 kB / 447.6 MB, free: 8.062 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.1441, allocations: 77.11 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1443, allocations: 162.9 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1444, allocations: 25.7 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.1444, allocations: 100.1 kB / 447.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.1445, allocations: 31.7 kB / 447.9 MB, free: 7.633 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.1445, allocations: 4 kB / 448 MB, free: 7.629 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.1446, allocations: 326.8 kB / 448.3 MB, free: 7.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.1447, allocations: 23.98 kB / 448.3 MB, free: 7.277 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.1448, allocations: 54.44 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.336e-05/0.1449, allocations: 32.02 kB / 448.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1449, allocations: 0 / 448.4 MB, free: 7.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00019/0.1451, allocations: 117.5 kB / 448.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.1451, allocations: 11.98 kB / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1451, allocations: 0 / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1451, allocations: 0 / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.085e-05/0.1452, allocations: 19.94 kB / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1452, allocations: 0 / 448.5 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1453, allocations: 7.984 kB / 448.5 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.1453, allocations: 12.03 kB / 448.5 MB, free: 7.012 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001126/0.1454, allocations: 121.8 kB / 448.7 MB, free: 6.883 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.1455, allocations: 19.77 kB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.168e-05/0.1455, allocations: 16.7 kB / 448.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1455, allocations: 0 / 448.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.1455, allocations: 0 / 448.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1455, allocations: 0 / 448.7 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004909/0.146, allocations: 415.3 kB / 449.1 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.146, allocations: 0 / 449.1 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.1461, allocations: 15.98 kB / 449.1 MB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1461, allocations: 4 kB / 449.1 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1461, allocations: 4 kB / 449.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1461, allocations: 3.938 kB / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.1461, allocations: 0 / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.1464, allocations: 216.2 kB / 449.3 MB, free: 6.129 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.1464, allocations: 93 kB / 449.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.1465, allocations: 0 / 449.4 MB, free: 6.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.302e-05/0.1466, allocations: 11.98 kB / 449.4 MB, free: 6.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1466, allocations: 4 kB / 449.4 MB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1466, allocations: 4 kB / 449.5 MB, free: 6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.316e-05/0.1467, allocations: 120.5 kB / 449.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1467, allocations: 4 kB / 449.6 MB, free: 5.879 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000276/0.147, allocations: 31.98 kB / 449.6 MB, free: 5.848 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001565/0.1486, allocations: 1.158 MB / 450.8 MB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1488, allocations: 71.84 kB / 450.8 MB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1488, allocations: 0 / 450.8 MB, free: 4.633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.86e-05/0.1489, allocations: 36.05 kB / 450.9 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.1492, allocations: 27.98 kB / 450.9 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1504, allocations: 0.6666 MB / 451.6 MB, free: 3.852 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1507, allocations: 0.7004 MB / 452.3 MB, free: 3.125 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.1508, allocations: 28.92 kB / 452.3 MB, free: 3.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.1509, allocations: 35.42 kB / 452.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1509, allocations: 0 / 452.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2455/0.3964, allocations: 3.214 MB / 455.5 MB, free: 45.75 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001642/0.3966, allocations: 216.8 kB / 455.8 MB, free: 45.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.158, allocations: 0 / 455.8 MB, free: 45.52 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat does not exist to compare? outputFormat=mat