Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72",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.0008164/0.0008164, allocations: 91.94 kB / 15.7 MB, free: 452 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.0008831/0.0008834, allocations: 170.3 kB / 16.57 MB, free: 6.406 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.357/1.357, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3612/0.3612, allocations: 43.54 MB / 314.6 MB, free: 8.785 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.0005094/0.0005095, allocations: 19.98 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1285, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002403/0.1309, allocations: 1.476 MB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.1324, allocations: 0.8202 MB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1326, allocations: 0 / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005319/0.1331, allocations: 291.4 kB / 445.5 MB, free: 10.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003719/0.1335, allocations: 207.5 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004063/0.1339, allocations: 127.7 kB / 445.8 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003312/0.1343, allocations: 199.4 kB / 446 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.598e-05/0.1344, allocations: 13.55 kB / 446 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.1345, allocations: 119.5 kB / 446.1 MB, free: 9.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1348, allocations: 159.6 kB / 446.3 MB, free: 9.539 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1348, allocations: 4 kB / 446.3 MB, free: 9.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.1349, allocations: 35.98 kB / 446.3 MB, free: 9.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000134/0.1351, allocations: 143.5 kB / 446.5 MB, free: 9.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.575e-05/0.1352, allocations: 77.45 kB / 446.5 MB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.1355, allocations: 271.8 kB / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1355, allocations: 0 / 446.8 MB, free: 9.012 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1355, allocations: 3.938 kB / 446.8 MB, free: 9.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.1355, allocations: 0 / 446.8 MB, free: 9.008 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008702/0.1364, allocations: 0.6764 MB / 447.5 MB, free: 8.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.1364, allocations: 8.031 kB / 447.5 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.44e-05/0.1365, allocations: 34.56 kB / 447.5 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.1366, allocations: 55.33 kB / 447.6 MB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005463/0.1371, allocations: 423.1 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1372, allocations: 4 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.1372, allocations: 0 / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1374, allocations: 87.34 kB / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1374, allocations: 0 / 448.1 MB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.1374, allocations: 7.953 kB / 448.1 MB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1374, allocations: 4 kB / 448.1 MB, free: 7.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.1376, allocations: 35.91 kB / 448.1 MB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004007/0.138, allocations: 374.3 kB / 448.5 MB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002358/0.1382, allocations: 109.1 kB / 448.6 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.1383, allocations: 37.7 kB / 448.6 MB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.1383, allocations: 4 kB / 448.6 MB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002384/0.1386, allocations: 105.1 kB / 448.7 MB, free: 6.863 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.593e-06/0.1386, allocations: 4 kB / 448.7 MB, free: 6.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004578/0.1391, allocations: 197 kB / 448.9 MB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.1391, allocations: 81.05 kB / 449 MB, free: 6.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.1402, allocations: 1.042 MB / 450 MB, free: 5.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.1402, allocations: 29.7 kB / 450.1 MB, free: 5.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.1404, allocations: 232.1 kB / 450.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.974e-05/0.1405, allocations: 27.64 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.42e-06/0.1405, allocations: 0 / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1406, allocations: 374.8 kB / 450.7 MB, free: 4.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.1407, allocations: 23.98 kB / 450.7 MB, free: 4.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.766e-05/0.1408, allocations: 55.41 kB / 450.8 MB, free: 4.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/0.1409, allocations: 32.5 kB / 450.8 MB, free: 4.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1409, allocations: 0 / 450.8 MB, free: 4.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002916/0.1412, allocations: 176.9 kB / 451 MB, free: 4.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1413, allocations: 8 kB / 451 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1413, allocations: 0 / 451 MB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1413, allocations: 4 kB / 451 MB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1414, allocations: 27.88 kB / 451 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1414, allocations: 0 / 451 MB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001003/0.1415, allocations: 11.94 kB / 451 MB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.1416, allocations: 8 kB / 451 MB, free: 4.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002124/0.1418, allocations: 233.6 kB / 451.3 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.1418, allocations: 47.34 kB / 451.3 MB, free: 4.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.62e-05/0.1419, allocations: 64 kB / 451.4 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1419, allocations: 0 / 451.4 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.1419, allocations: 3.953 kB / 451.4 MB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.142, allocations: 7.984 kB / 451.4 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00029/0.1423, allocations: 329.5 kB / 451.7 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.135e-06/0.1423, allocations: 4 kB / 451.7 MB, free: 3.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.535e-05/0.1423, allocations: 7.984 kB / 451.7 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1423, allocations: 4 kB / 451.7 MB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1423, allocations: 8 kB / 451.7 MB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1423, allocations: 3.938 kB / 451.7 MB, free: 3.723 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.1424, allocations: 3.984 kB / 451.7 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.1427, allocations: 201.2 kB / 451.9 MB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.1428, allocations: 148.4 kB / 452.1 MB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.1429, allocations: 4 kB / 452.1 MB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.769e-05/0.1429, allocations: 8.109 kB / 452.1 MB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.143, allocations: 8 kB / 452.1 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.143, allocations: 11.98 kB / 452.1 MB, free: 3.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007333/0.1438, allocations: 0.776 MB / 452.9 MB, free: 2.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1438, allocations: 0 / 452.9 MB, free: 2.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.144, allocations: 44 kB / 452.9 MB, free: 2.488 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00139/0.1454, allocations: 1.037 MB / 454 MB, free: 1.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.1457, allocations: 79.91 kB / 454 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1457, allocations: 0 / 454 MB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.732e-05/0.1458, allocations: 44.42 kB / 454.1 MB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1462, allocations: 70.38 kB / 454.2 MB, free: 1.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2083/0.3545, allocations: 2.92 MB / 457.1 MB, free: 45.78 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3548, allocations: 0.8407 MB / 457.9 MB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.355, allocations: 52.16 kB / 458 MB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.3552, allocations: 149.2 kB / 458.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3552, allocations: 2.625 kB / 458.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01909/0.3743, allocations: 8.027 MB / 466.1 MB, free: 44.51 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001423/0.3745, allocations: 229.4 kB / 466.4 MB, free: 44.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.161, allocations: 3.938 kB / 466.4 MB, free: 44.26 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test72.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat does not exist to compare? outputFormat=mat