Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test25,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25",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.002301/0.002301, allocations: 179.4 kB / 8.364 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.213/2.213, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001108/0.001108, allocations: 88.83 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.3187/0.3187, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.235e-05/2.252e-05, allocations: 224 / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4263, allocations: 58.86 MB / 477.2 MB, free: 5.145 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1731/0.5995, allocations: 86.48 MB / 0.5504 GB, free: 12.74 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002879/0.5998, allocations: 63.97 kB / 0.5505 GB, free: 12.68 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01835/0.6182, allocations: 4.192 MB / 0.5546 GB, free: 8.477 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.6183, allocations: 0 / 0.5546 GB, free: 8.477 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.6183, allocations: 0 / 0.5546 GB, free: 8.477 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.0006378/0.6189, allocations: 399.3 kB / 0.555 GB, free: 8.043 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.619, allocations: 8.031 kB / 0.555 GB, free: 8.035 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.248e-05/0.6191, allocations: 11.86 kB / 0.555 GB, free: 8.023 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003377/0.6194, allocations: 203.4 kB / 0.5552 GB, free: 7.781 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.6194, allocations: 0 / 0.5552 GB, free: 7.781 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.6195, allocations: 4 kB / 0.5552 GB, free: 7.777 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001198/0.6196, allocations: 24.48 kB / 0.5552 GB, free: 7.754 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.6197, allocations: 45.69 kB / 0.5553 GB, free: 7.703 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.6198, allocations: 3.938 kB / 0.5553 GB, free: 7.699 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.6198, allocations: 3.984 kB / 0.5553 GB, free: 7.695 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.6198, allocations: 4 kB / 0.5553 GB, free: 7.691 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.6204, allocations: 293.2 kB / 0.5556 GB, free: 7.367 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/0.6206, allocations: 34.58 kB / 0.5556 GB, free: 7.324 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.168e-05/0.6206, allocations: 20.8 kB / 0.5556 GB, free: 7.301 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.6207, allocations: 4.094 kB / 0.5556 GB, free: 7.297 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.6207, allocations: 34.55 kB / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.405e-06/0.6207, allocations: 0 / 0.5556 GB, free: 7.254 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007056/0.6214, allocations: 153.3 kB / 0.5558 GB, free: 7.098 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/0.6215, allocations: 63.33 kB / 0.5559 GB, free: 7.023 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.6217, allocations: 153.5 kB / 0.556 GB, free: 6.863 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.6218, allocations: 29.7 kB / 0.556 GB, free: 6.828 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.6219, allocations: 162.5 kB / 0.5562 GB, free: 6.668 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.622, allocations: 27.64 kB / 0.5562 GB, free: 6.641 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.622, allocations: 0 / 0.5562 GB, free: 6.641 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6221, allocations: 314.8 kB / 0.5565 GB, free: 6.324 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.395e-05/0.6222, allocations: 23.98 kB / 0.5565 GB, free: 6.301 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.6223, allocations: 16 kB / 0.5565 GB, free: 6.285 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.853e-05/0.6224, allocations: 27.98 kB / 0.5566 GB, free: 6.258 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.6224, allocations: 0 / 0.5566 GB, free: 6.258 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002233/0.6226, allocations: 73.69 kB / 0.5566 GB, free: 6.18 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6227, allocations: 4 kB / 0.5567 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6227, allocations: 0 / 0.5567 GB, free: 6.176 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.6227, allocations: 3.984 kB / 0.5567 GB, free: 6.172 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002169/0.6229, allocations: 27.92 kB / 0.5567 GB, free: 6.145 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.623, allocations: 3.953 kB / 0.5567 GB, free: 6.141 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.6231, allocations: 15.98 kB / 0.5567 GB, free: 6.125 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.6231, allocations: 8 kB / 0.5567 GB, free: 6.117 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 9.888e-05/0.6232, allocations: 101 kB / 0.5568 GB, free: 6.012 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002162/0.6235, allocations: 81.5 kB / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.6235, allocations: 11.91 kB / 0.5569 GB, free: 5.914 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.6238, allocations: 106.2 kB / 0.557 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6238, allocations: 0 / 0.557 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6239, allocations: 4 kB / 0.557 GB, free: 5.801 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6239, allocations: 4 kB / 0.557 GB, free: 5.797 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006199/0.6245, allocations: 351.6 kB / 0.5573 GB, free: 5.41 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.6245, allocations: 0 / 0.5573 GB, free: 5.41 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.6247, allocations: 23.92 kB / 0.5574 GB, free: 5.387 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.38e-05/0.6248, allocations: 7.953 kB / 0.5574 GB, free: 5.379 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.6248, allocations: 3.938 kB / 0.5574 GB, free: 5.375 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.6248, allocations: 4 kB / 0.5574 GB, free: 5.371 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.6248, allocations: 3.938 kB / 0.5574 GB, free: 5.367 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002711/0.6251, allocations: 183.5 kB / 0.5576 GB, free: 5.172 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.803e-05/0.6252, allocations: 96.91 kB / 0.5576 GB, free: 5.059 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.6252, allocations: 3.953 kB / 0.5576 GB, free: 5.055 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001593/0.6254, allocations: 15.98 kB / 0.5577 GB, free: 5.039 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.6255, allocations: 8 kB / 0.5577 GB, free: 5.031 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.6255, allocations: 4.141 kB / 0.5577 GB, free: 5.027 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001621/0.6257, allocations: 127.2 kB / 0.5578 GB, free: 4.902 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6257, allocations: 0 / 0.5578 GB, free: 4.902 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003789/0.6261, allocations: 20 kB / 0.5578 GB, free: 4.883 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.001587/0.6277, allocations: 0.9475 MB / 0.5587 GB, free: 3.957 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.6279, allocations: 51.98 kB / 0.5588 GB, free: 3.906 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.628, allocations: 3.938 kB / 0.5588 GB, free: 3.902 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 9.195e-05/0.6281, allocations: 27.94 kB / 0.5588 GB, free: 3.875 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003345/0.6284, allocations: 20.8 kB / 0.5588 GB, free: 3.859 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008067/0.6292, allocations: 239.5 kB / 0.5591 GB, free: 3.586 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004144/0.6297, allocations: 0.7079 MB / 0.5598 GB, free: 2.852 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.6298, allocations: 35.42 kB / 0.5598 GB, free: 2.816 MB / 395.1 MB Notification: Performance of SimCode: time 1.713e-06/0.6298, allocations: 0 / 0.5598 GB, free: 2.816 MB / 395.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.794/3.423, allocations: 2.24 MB / 0.562 GB, free: 0.5859 MB / 395.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test25.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat does not exist to compare? outputFormat=mat