Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32",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.0008076/0.0008077, 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.001234/0.001234, allocations: 178.5 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.518/1.518, 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.3499/0.3499, allocations: 43.55 MB / 314.6 MB, free: 8.773 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.0005465/0.0005467, allocations: 20 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1305, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002037/0.1325, allocations: 1.383 MB / 444.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.1338, allocations: 0.7461 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.721e-05/0.1338, allocations: 3.938 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.1341, allocations: 31.89 kB / 445.1 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.1343, allocations: 43.83 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.1345, allocations: 75.86 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1347, allocations: 83.69 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.1348, allocations: 16.19 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.306e-05/0.1348, allocations: 35.86 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.338e-05/0.1349, allocations: 35.78 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1349, allocations: 0 / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.052e-05/0.135, allocations: 39.98 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.079e-05/0.1351, allocations: 15.92 kB / 445.4 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1351, allocations: 37.64 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.1353, allocations: 88.03 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1353, allocations: 0 / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.1353, allocations: 4 kB / 445.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.1353, allocations: 0 / 445.5 MB, free: 10.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004993/0.1358, allocations: 406.8 kB / 445.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1359, allocations: 8.031 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.694e-05/0.1359, allocations: 30.56 kB / 446 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.1359, allocations: 11.91 kB / 446 MB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.1361, allocations: 206.8 kB / 446.2 MB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.1362, allocations: 4 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.851e-05/0.1362, allocations: 0 / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1363, allocations: 57.61 kB / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.1364, allocations: 0 / 446.2 MB, free: 9.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.1364, allocations: 7.953 kB / 446.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1364, allocations: 4 kB / 446.2 MB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/0.1365, allocations: 15.98 kB / 446.3 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.1368, allocations: 284.9 kB / 446.5 MB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.137, allocations: 58.61 kB / 446.6 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.154e-05/0.137, allocations: 20.86 kB / 446.6 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.137, allocations: 7.938 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.1372, allocations: 71.33 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.1372, allocations: 0 / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004751/0.1377, allocations: 165.2 kB / 446.9 MB, free: 8.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.1377, allocations: 51.41 kB / 446.9 MB, free: 8.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.1379, allocations: 194.2 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1379, allocations: 29.64 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.138, allocations: 104.1 kB / 447.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.138, allocations: 19.72 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.138, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.824e-05/0.1382, allocations: 322.8 kB / 447.6 MB, free: 8.023 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.1382, allocations: 23.98 kB / 447.6 MB, free: 8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.1383, allocations: 37.64 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.409e-05/0.1383, allocations: 27.98 kB / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1383, allocations: 0 / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001672/0.1385, allocations: 105.5 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.1385, allocations: 8 kB / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1386, allocations: 0 / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1386, allocations: 0 / 447.8 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.1387, allocations: 15.98 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.1387, allocations: 8.516 kB / 447.8 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.217e-05/0.1387, allocations: 4.031 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-06/0.1387, allocations: 4 kB / 447.8 MB, free: 7.781 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 (10): * Single equations (assignments): 10 * 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 9.922e-05/0.1388, allocations: 129.8 kB / 447.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.1389, allocations: 23.77 kB / 447.9 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.1389, allocations: 12.72 kB / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1389, allocations: 0 / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.1389, allocations: 0 / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1389, allocations: 0 / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.1394, allocations: 399.3 kB / 448.3 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1394, allocations: 3.984 kB / 448.3 MB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1394, allocations: 15.92 kB / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.1394, allocations: 0 / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.1394, allocations: 0 / 448.4 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.1394, allocations: 4 kB / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1394, allocations: 0 / 448.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002196/0.1397, allocations: 208.2 kB / 448.6 MB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.1397, allocations: 92.91 kB / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1398, allocations: 0 / 448.7 MB, free: 6.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.792e-05/0.1398, allocations: 8 kB / 448.7 MB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.1399, allocations: 11.92 kB / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.1399, allocations: 0 / 448.7 MB, free: 6.789 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001052/0.14, allocations: 148.2 kB / 448.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.14, allocations: 0 / 448.8 MB, free: 6.645 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1403, allocations: 27.94 kB / 448.9 MB, free: 6.617 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 (8): * Single equations (assignments): 6 * 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.001363/0.1416, allocations: 1.094 MB / 449.9 MB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001584/0.1418, allocations: 51.92 kB / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1418, allocations: 0 / 450 MB, free: 5.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.708e-05/0.1419, allocations: 31.92 kB / 450 MB, free: 5.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.1422, allocations: 20.3 kB / 450.1 MB, free: 5.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.1433, allocations: 0.7158 MB / 450.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1436, allocations: 0.7004 MB / 451.5 MB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.976e-05/0.1437, allocations: 12.88 kB / 451.5 MB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.564e-05/0.1437, allocations: 31.42 kB / 451.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1437, allocations: 0 / 451.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01349/0.1572, allocations: 2.934 MB / 454.4 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001972/0.1574, allocations: 213.5 kB / 454.7 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.666/1.823, allocations: 0 / 454.7 MB, free: 0.7266 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat