Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.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.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",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.001552/0.001552, 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 1.989/1.989, 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.001068/0.001068, allocations: 87.98 kB / 262.1 MB, free: 13.87 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.3344/0.3344, allocations: 43.48 MB / 353.6 MB, free: 2.273 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.549e-05/3.525e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4792, allocations: 58.86 MB / 477.2 MB, free: 5.18 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1973/0.6765, allocations: 87.07 MB / 0.551 GB, free: 12.17 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.6769, allocations: 79.45 kB / 0.5511 GB, free: 12.1 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.03434/0.7112, allocations: 7.605 MB / 0.5585 GB, free: 4.488 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.7113, allocations: 0 / 0.5585 GB, free: 4.488 MB / 395.1 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.7113, allocations: 8 kB / 0.5585 GB, free: 4.48 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008756/0.7122, allocations: 498.3 kB / 0.559 GB, free: 3.949 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.7123, allocations: 12.03 kB / 0.559 GB, free: 3.938 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.7124, allocations: 31.67 kB / 0.5591 GB, free: 3.906 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.7131, allocations: 291.9 kB / 0.5593 GB, free: 3.582 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.7131, allocations: 4 kB / 0.5593 GB, free: 3.578 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.924e-05/0.7132, allocations: 8 kB / 0.5593 GB, free: 3.57 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001532/0.7134, allocations: 35.98 kB / 0.5594 GB, free: 3.535 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.7136, allocations: 95.3 kB / 0.5595 GB, free: 3.43 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.7136, allocations: 0 / 0.5595 GB, free: 3.43 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.7136, allocations: 0 / 0.5595 GB, free: 3.43 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.7137, allocations: 7.953 kB / 0.5595 GB, free: 3.422 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.7146, allocations: 437.5 kB / 0.5599 GB, free: 2.953 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002705/0.7149, allocations: 101.4 kB / 0.56 GB, free: 2.836 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.85e-05/0.715, allocations: 41.77 kB / 0.56 GB, free: 2.789 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.7151, allocations: 4 kB / 0.56 GB, free: 2.785 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002877/0.7154, allocations: 109 kB / 0.5601 GB, free: 2.66 MB / 395.1 MB Notification: Performance of pre-optimization done (n=12): time 5.341e-06/0.7154, allocations: 3.984 kB / 0.5601 GB, free: 2.656 MB / 395.1 MB Notification: Performance of matching and sorting (n=16): time 0.001132/0.7165, allocations: 319.9 kB / 0.5605 GB, free: 2.336 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.407e-05/0.7166, allocations: 77.11 kB / 0.5605 GB, free: 2.242 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007488/0.7174, allocations: 377 kB / 0.5609 GB, free: 1.867 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.7174, allocations: 29.7 kB / 0.5609 GB, free: 1.832 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.7176, allocations: 198.8 kB / 0.5611 GB, free: 1.633 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.7177, allocations: 47.3 kB / 0.5611 GB, free: 1.586 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.7177, allocations: 0 / 0.5611 GB, free: 1.586 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.7179, allocations: 318.8 kB / 0.5615 GB, free: 1.266 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001092/0.718, allocations: 32 kB / 0.5615 GB, free: 1.234 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.7182, allocations: 71.36 kB / 0.5616 GB, free: 1.152 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.7183, allocations: 44.12 kB / 0.5616 GB, free: 1.109 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.7183, allocations: 0 / 0.5616 GB, free: 1.109 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004035/0.7188, allocations: 149.5 kB / 0.5617 GB, free: 0.957 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.7188, allocations: 4 kB / 0.5617 GB, free: 0.9531 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.7188, allocations: 0 / 0.5617 GB, free: 0.9531 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/0.7188, allocations: 4 kB / 0.5617 GB, free: 0.9492 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002763/0.7191, allocations: 31.92 kB / 0.5618 GB, free: 0.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.7192, allocations: 4 kB / 0.5618 GB, free: 0.9141 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.7194, allocations: 15.95 kB / 0.5618 GB, free: 0.8984 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.281e-05/0.7194, allocations: 4 kB / 0.5618 GB, free: 0.8945 MB / 395.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 () * 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.0001971/0.7196, allocations: 109 kB / 0.5619 GB, free: 0.7812 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007391/0.7204, allocations: 169.2 kB / 0.5621 GB, free: 0.6094 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.7205, allocations: 31.62 kB / 0.5621 GB, free: 0.5781 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006103/0.7212, allocations: 196.6 kB / 0.5623 GB, free: 392 kB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.7212, allocations: 4 kB / 0.5623 GB, free: 388 kB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.7212, allocations: 4 kB / 0.5623 GB, free: 384 kB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.7212, allocations: 192 / 0.5623 GB, free: 384 kB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.7226, allocations: 0.6407 MB / 0.5629 GB, free: 15.68 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.7226, allocations: 3.938 kB / 0.5629 GB, free: 15.68 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001575/0.7228, allocations: 31.92 kB / 0.5629 GB, free: 15.65 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.7228, allocations: 3.938 kB / 0.563 GB, free: 15.64 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.7228, allocations: 4 kB / 0.563 GB, free: 15.64 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.7229, allocations: 8.062 kB / 0.563 GB, free: 15.63 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.7229, allocations: 0 / 0.563 GB, free: 15.63 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006122/0.7235, allocations: 405.3 kB / 0.5633 GB, free: 15.2 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.7237, allocations: 120.8 kB / 0.5635 GB, free: 15.06 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/0.7238, allocations: 7.953 kB / 0.5635 GB, free: 15.05 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.7241, allocations: 7.984 kB / 0.5635 GB, free: 15.05 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.7242, allocations: 11.98 kB / 0.5635 GB, free: 15.04 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.7242, allocations: 12 kB / 0.5635 GB, free: 15.02 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0005411/0.7247, allocations: 300.5 kB / 0.5638 GB, free: 14.73 MB / 411.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7248, allocations: 0 / 0.5638 GB, free: 14.73 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.7253, allocations: 55.94 kB / 0.5638 GB, free: 14.68 MB / 411.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.00226/0.7276, allocations: 1.425 MB / 0.5652 GB, free: 13.25 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.0003941/0.7281, allocations: 103.9 kB / 0.5653 GB, free: 13.15 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.7281, allocations: 0 / 0.5653 GB, free: 13.15 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.7282, allocations: 63.86 kB / 0.5654 GB, free: 13.09 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006605/0.7289, allocations: 45.05 kB / 0.5654 GB, free: 13.04 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.7305, allocations: 0.5093 MB / 0.5659 GB, free: 12.48 MB / 411.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005332/0.7311, allocations: 0.7788 MB / 0.5667 GB, free: 11.68 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000232/0.7313, allocations: 87.39 kB / 0.5668 GB, free: 11.59 MB / 411.1 MB Notification: Performance of SimCode: time 1.062e-06/0.7314, allocations: 0 / 0.5668 GB, free: 11.59 MB / 411.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.752/3.484, allocations: 4.696 MB / 0.5714 GB, free: 6.902 MB / 411.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat does not exist to compare? outputFormat=mat