Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test24,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001532/0.001537, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 88.31 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.298/0.298, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.947e-05/1.98e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4298, allocations: 58.85 MB / 477.2 MB, free: 5.141 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.6029, allocations: 86.09 MB / 0.5501 GB, free: 13.1 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.6033, allocations: 71.95 kB / 0.5501 GB, free: 13.03 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.6209, allocations: 4.069 MB / 0.5541 GB, free: 8.949 MB / 395.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.6209, allocations: 0 / 0.5541 GB, free: 8.949 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.525e-05/0.621, allocations: 0 / 0.5541 GB, free: 8.949 MB / 395.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.0005817/0.6216, allocations: 390.3 kB / 0.5545 GB, free: 8.527 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.088e-05/0.6216, allocations: 12.03 kB / 0.5545 GB, free: 8.516 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.6217, allocations: 11.86 kB / 0.5545 GB, free: 8.504 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.622, allocations: 203.3 kB / 0.5547 GB, free: 8.262 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.622, allocations: 0 / 0.5547 GB, free: 8.262 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.6221, allocations: 7.984 kB / 0.5547 GB, free: 8.254 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.851e-05/0.6222, allocations: 16 kB / 0.5547 GB, free: 8.238 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.6223, allocations: 45.69 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6223, allocations: 4 kB / 0.5548 GB, free: 8.184 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.6224, allocations: 3.984 kB / 0.5548 GB, free: 8.18 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.6224, allocations: 0 / 0.5548 GB, free: 8.18 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004486/0.6228, allocations: 273.2 kB / 0.555 GB, free: 7.875 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.744e-05/0.623, allocations: 30.58 kB / 0.5551 GB, free: 7.836 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.922e-05/0.623, allocations: 12.86 kB / 0.5551 GB, free: 7.82 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.623, allocations: 8 kB / 0.5551 GB, free: 7.812 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.6231, allocations: 30.56 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.6231, allocations: 0 / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006688/0.6238, allocations: 137.3 kB / 0.5552 GB, free: 7.633 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.6238, allocations: 55.39 kB / 0.5553 GB, free: 7.566 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.6241, allocations: 151.3 kB / 0.5554 GB, free: 7.406 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.6241, allocations: 29.69 kB / 0.5555 GB, free: 7.371 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.708e-05/0.6242, allocations: 162.5 kB / 0.5556 GB, free: 7.211 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.6242, allocations: 23.66 kB / 0.5556 GB, free: 7.188 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-06/0.6243, allocations: 0 / 0.5556 GB, free: 7.188 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6244, allocations: 315.4 kB / 0.5559 GB, free: 6.871 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.863e-05/0.6245, allocations: 15.98 kB / 0.556 GB, free: 6.855 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.674e-05/0.6245, allocations: 16 kB / 0.556 GB, free: 6.84 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.947e-05/0.6246, allocations: 16.08 kB / 0.556 GB, free: 6.824 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.6246, allocations: 0 / 0.556 GB, free: 6.824 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000169/0.6248, allocations: 77.55 kB / 0.5561 GB, free: 6.742 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.6248, allocations: 4 kB / 0.5561 GB, free: 6.738 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.6248, allocations: 0 / 0.5561 GB, free: 6.738 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.6249, allocations: 4 kB / 0.5561 GB, free: 6.734 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.6251, allocations: 19.98 kB / 0.5561 GB, free: 6.715 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.6251, allocations: 3.953 kB / 0.5561 GB, free: 6.711 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.6252, allocations: 19.98 kB / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.6253, allocations: 0 / 0.5561 GB, free: 6.691 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 8.885e-05/0.6254, allocations: 105 kB / 0.5562 GB, free: 6.582 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001785/0.6255, allocations: 73.53 kB / 0.5563 GB, free: 6.504 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.6256, allocations: 7.906 kB / 0.5563 GB, free: 6.496 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.6259, allocations: 98.52 kB / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.6259, allocations: 0 / 0.5564 GB, free: 6.398 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.6259, allocations: 4 kB / 0.5564 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.6259, allocations: 4 kB / 0.5564 GB, free: 6.391 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005194/0.6264, allocations: 331.1 kB / 0.5567 GB, free: 6.023 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.6265, allocations: 3.938 kB / 0.5567 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.6266, allocations: 23.98 kB / 0.5567 GB, free: 5.996 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.6267, allocations: 3.953 kB / 0.5567 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.6267, allocations: 0 / 0.5567 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6267, allocations: 0 / 0.5567 GB, free: 5.992 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6267, allocations: 4 kB / 0.5567 GB, free: 5.988 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.6269, allocations: 171.4 kB / 0.5569 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.627, allocations: 93 kB / 0.557 GB, free: 5.695 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.695e-05/0.6271, allocations: 3.953 kB / 0.557 GB, free: 5.691 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.6272, allocations: 11.98 kB / 0.557 GB, free: 5.68 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.6273, allocations: 7.938 kB / 0.557 GB, free: 5.672 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.6273, allocations: 15.98 kB / 0.557 GB, free: 5.656 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.6275, allocations: 124.5 kB / 0.5572 GB, free: 5.535 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6275, allocations: 0 / 0.5572 GB, free: 5.535 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003722/0.6279, allocations: 20 kB / 0.5572 GB, free: 5.516 MB / 395.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001404/0.6293, allocations: 0.9301 MB / 0.5581 GB, free: 4.602 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.6295, allocations: 39.94 kB / 0.5581 GB, free: 4.562 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6295, allocations: 0 / 0.5581 GB, free: 4.562 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 7.281e-05/0.6296, allocations: 27.98 kB / 0.5581 GB, free: 4.535 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.6299, allocations: 19.75 kB / 0.5582 GB, free: 4.516 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007206/0.6306, allocations: 227.5 kB / 0.5584 GB, free: 4.254 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003286/0.631, allocations: 0.7079 MB / 0.5591 GB, free: 3.52 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.782e-05/0.6311, allocations: 27.42 kB / 0.5591 GB, free: 3.492 MB / 395.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6311, allocations: 4 kB / 0.5591 GB, free: 3.488 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.654/3.285, allocations: 2.127 MB / 0.5612 GB, free: 1.371 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test24.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat does not exist to compare? outputFormat=mat