Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",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.000856/0.000856, allocations: 96.78 kB / 15.7 MB, free: 468 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.0009301/0.0009304, allocations: 175.2 kB / 16.58 MB, free: 5.668 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.48/1.48, allocations: 205.4 MB / 222.7 MB, free: 5.621 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.3529/0.3529, allocations: 43.54 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.000505/0.000505, allocations: 12 kB / 384 MB, free: 7.891 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1185, allocations: 58.86 MB / 442.9 MB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00177/0.1203, allocations: 1.356 MB / 444.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000989/0.1213, allocations: 0.7189 MB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.1214, allocations: 0 / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.1217, allocations: 47.81 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1218, allocations: 59.75 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001846/0.122, allocations: 71.84 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.1222, allocations: 79.7 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.1222, allocations: 7.984 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.1223, allocations: 43.78 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.923e-05/0.1224, allocations: 31.83 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.407e-05/0.1224, allocations: 4 kB / 445.3 MB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.261e-05/0.1224, allocations: 24 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.315e-05/0.1225, allocations: 15.92 kB / 445.3 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.735e-05/0.1225, allocations: 37.64 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.1227, allocations: 80.09 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1227, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1227, allocations: 0 / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.1227, allocations: 0 / 445.5 MB, free: 10.33 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004528/0.1231, allocations: 382.9 kB / 445.8 MB, free: 9.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.1232, allocations: 12.03 kB / 445.8 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.1232, allocations: 38.56 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.167e-05/0.1233, allocations: 11.81 kB / 445.9 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.1234, allocations: 198.8 kB / 446.1 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.1235, allocations: 4 kB / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.1235, allocations: 0 / 446.1 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.1236, allocations: 45.69 kB / 446.1 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1236, allocations: 8 kB / 446.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1236, allocations: 7.938 kB / 446.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1236, allocations: 0 / 446.1 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.688e-05/0.1237, allocations: 12 kB / 446.2 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001654/0.1239, allocations: 181.6 kB / 446.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.124, allocations: 58.55 kB / 446.4 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.345e-05/0.1241, allocations: 16.86 kB / 446.4 MB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.1241, allocations: 7.969 kB / 446.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.1243, allocations: 67.39 kB / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.1243, allocations: 0 / 446.5 MB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002316/0.1245, allocations: 97.47 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1246, allocations: 55.41 kB / 446.6 MB, free: 8.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.1247, allocations: 162.2 kB / 446.8 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.1247, allocations: 29.7 kB / 446.8 MB, free: 8.754 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.1248, allocations: 96.12 kB / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.565e-05/0.1248, allocations: 15.81 kB / 446.9 MB, free: 8.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.1248, allocations: 4 kB / 446.9 MB, free: 8.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.224e-05/0.1249, allocations: 322.8 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.321e-05/0.125, allocations: 15.98 kB / 447.3 MB, free: 8.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.787e-05/0.125, allocations: 29.7 kB / 447.3 MB, free: 8.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.325e-05/0.1251, allocations: 19.92 kB / 447.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1251, allocations: 0 / 447.3 MB, free: 8.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001367/0.1252, allocations: 85.53 kB / 447.4 MB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/0.1252, allocations: 4 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1252, allocations: 0 / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.1253, allocations: 3.984 kB / 447.4 MB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.523e-05/0.1253, allocations: 19.98 kB / 447.4 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1253, allocations: 3.953 kB / 447.4 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.1254, allocations: 0 / 447.4 MB, free: 8.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1254, allocations: 7.938 kB / 447.4 MB, free: 8.113 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 (7): * Single equations (assignments): 7 * 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 7.291e-05/0.1255, allocations: 125.8 kB / 447.6 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.1255, allocations: 11.94 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.917e-05/0.1255, allocations: 16.3 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1255, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1255, allocations: 0 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1256, allocations: 3.953 kB / 447.6 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001064/0.1257, allocations: 185.5 kB / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1257, allocations: 0 / 447.8 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.1257, allocations: 8.297 kB / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1257, allocations: 0 / 447.8 MB, free: 7.715 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1257, allocations: 4 kB / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1257, allocations: 0 / 447.8 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1257, allocations: 4 kB / 447.8 MB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001459/0.1259, allocations: 108.9 kB / 447.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.1259, allocations: 92.95 kB / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.126, allocations: 0 / 448 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.126, allocations: 7.984 kB / 448 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.348e-05/0.126, allocations: 0 / 448 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.126, allocations: 4 kB / 448 MB, free: 7.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.479e-05/0.1261, allocations: 139.9 kB / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1261, allocations: 0 / 448.1 MB, free: 7.324 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001947/0.1263, allocations: 19.98 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001063/0.1274, allocations: 0.9445 MB / 449.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001287/0.1275, allocations: 43.92 kB / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1276, allocations: 0 / 449.1 MB, free: 6.332 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.201e-05/0.1276, allocations: 19.98 kB / 449.2 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.1279, allocations: 23.98 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/0.1287, allocations: 0.6268 MB / 449.8 MB, free: 5.613 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.1289, allocations: 0.7004 MB / 450.5 MB, free: 4.887 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.852e-05/0.129, allocations: 16.42 kB / 450.5 MB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.768e-05/0.129, allocations: 27.42 kB / 450.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.129, allocations: 0 / 450.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01189/0.1409, allocations: 2.587 MB / 453.1 MB, free: 2.258 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.1411, allocations: 225.3 kB / 453.4 MB, free: 2.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.772, allocations: 0 / 453.4 MB, free: 2.012 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat does not exist to compare? outputFormat=mat