Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73",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.0008773/0.0008772, allocations: 96.86 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.000819/0.0008189, allocations: 169.7 kB / 16.58 MB, free: 6.062 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.45/1.45, allocations: 205.4 MB / 222.7 MB, free: 5.629 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.351/0.351, allocations: 43.54 MB / 314.6 MB, free: 8.77 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.0005114/0.0005115, allocations: 24 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.118, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.00198/0.12, allocations: 1.523 MB / 444.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1212, allocations: 0.8318 MB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.506e-05/0.1213, allocations: 7.938 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.1217, allocations: 143.7 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.122, allocations: 123.6 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.1223, allocations: 139.7 kB / 445.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002328/0.1225, allocations: 183.4 kB / 445.8 MB, free: 9.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1227, allocations: 17.55 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1228, allocations: 95.61 kB / 445.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001404/0.1229, allocations: 111.5 kB / 446 MB, free: 9.773 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.123, allocations: 3.938 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.1231, allocations: 32 kB / 446.1 MB, free: 9.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.148e-05/0.1231, allocations: 47.81 kB / 446.1 MB, free: 9.691 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.025e-05/0.1232, allocations: 49.58 kB / 446.2 MB, free: 9.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.1234, allocations: 144 kB / 446.3 MB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.1234, allocations: 0 / 446.3 MB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1234, allocations: 0 / 446.3 MB, free: 9.496 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1234, allocations: 0 / 446.3 MB, free: 9.496 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006105/0.124, allocations: 0.4942 MB / 446.8 MB, free: 8.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1241, allocations: 12.03 kB / 446.8 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.375e-05/0.1241, allocations: 34.5 kB / 446.9 MB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.528e-05/0.1242, allocations: 23.72 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.1245, allocations: 254.6 kB / 447.1 MB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1245, allocations: 11.94 kB / 447.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.1245, allocations: 4 kB / 447.1 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002437/0.1248, allocations: 91.36 kB / 447.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.1248, allocations: 3.938 kB / 447.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1248, allocations: 7.953 kB / 447.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1248, allocations: 0 / 447.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.125, allocations: 39.97 kB / 447.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.1255, allocations: 436.9 kB / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.1258, allocations: 117.3 kB / 447.8 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.685e-05/0.1259, allocations: 45.66 kB / 447.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.1259, allocations: 11.92 kB / 447.9 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.1262, allocations: 109 kB / 448 MB, free: 7.621 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.213e-06/0.1262, allocations: 4 kB / 448 MB, free: 7.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008476/0.127, allocations: 356.7 kB / 448.3 MB, free: 7.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.798e-05/0.1271, allocations: 81.11 kB / 448.4 MB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.1274, allocations: 351 kB / 448.8 MB, free: 6.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.1275, allocations: 33.7 kB / 448.8 MB, free: 6.773 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.1275, allocations: 132.4 kB / 448.9 MB, free: 6.641 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.988e-05/0.1276, allocations: 55.33 kB / 449 MB, free: 6.586 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.1276, allocations: 8 kB / 449 MB, free: 6.578 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.1278, allocations: 334.8 kB / 449.3 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.253e-05/0.1279, allocations: 47.94 kB / 449.4 MB, free: 6.195 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.128, allocations: 67.41 kB / 449.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.896e-05/0.1281, allocations: 48.08 kB / 449.5 MB, free: 6.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1281, allocations: 4 kB / 449.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002896/0.1284, allocations: 177.3 kB / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.1284, allocations: 4 kB / 449.6 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.1284, allocations: 4 kB / 449.7 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1284, allocations: 0 / 449.7 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.1286, allocations: 35.92 kB / 449.7 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.1286, allocations: 3.984 kB / 449.7 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.069e-05/0.1287, allocations: 8.062 kB / 449.7 MB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.1287, allocations: 16.06 kB / 449.7 MB, free: 5.816 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001435/0.1288, allocations: 161.7 kB / 449.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.1289, allocations: 31.56 kB / 449.9 MB, free: 5.617 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/0.1289, allocations: 29.73 kB / 449.9 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.129, allocations: 4 kB / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.129, allocations: 0 / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.129, allocations: 0 / 449.9 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006139/0.1296, allocations: 0.6048 MB / 450.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1296, allocations: 0 / 450.5 MB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.267e-05/0.1297, allocations: 23.92 kB / 450.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1297, allocations: 3.938 kB / 450.6 MB, free: 4.887 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.1297, allocations: 8 kB / 450.6 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.1297, allocations: 3.938 kB / 450.6 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1297, allocations: 7.953 kB / 450.6 MB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003524/0.1301, allocations: 356.2 kB / 450.9 MB, free: 4.496 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.1301, allocations: 108.7 kB / 451 MB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.1302, allocations: 4 kB / 451 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.1303, allocations: 11.98 kB / 451.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.1304, allocations: 19.94 kB / 451.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.1304, allocations: 4 kB / 451.1 MB, free: 4.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002779/0.1307, allocations: 265.9 kB / 451.3 MB, free: 4.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1307, allocations: 0 / 451.3 MB, free: 4.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003199/0.131, allocations: 39.98 kB / 451.4 MB, free: 4.035 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001564/0.1326, allocations: 1.254 MB / 452.6 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.1328, allocations: 119.8 kB / 452.8 MB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1328, allocations: 0 / 452.8 MB, free: 2.676 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.133, allocations: 63.91 kB / 452.8 MB, free: 2.613 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.1335, allocations: 52.75 kB / 452.9 MB, free: 2.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.1353, allocations: 1.325 MB / 454.2 MB, free: 1.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1356, allocations: 0.7479 MB / 454.9 MB, free: 400 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.401e-05/0.1357, allocations: 42.55 kB / 455 MB, free: 356 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1358, allocations: 75.34 kB / 455.1 MB, free: 280 kB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1359, allocations: 0 / 455.1 MB, free: 280 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/0.3398, allocations: 4.823 MB / 459.9 MB, free: 45.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/0.34, allocations: 214.4 kB / 460.1 MB, free: 44.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.984, allocations: 0 / 460.1 MB, free: 44.99 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat does not exist to compare? outputFormat=mat