Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45",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.001079/0.001079, allocations: 183.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.659/1.659, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001189, allocations: 82.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2717/0.2717, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003629/0.000363, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 58.85 MB / 490.3 MB, free: 8.57 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4613/0.6071, allocations: 87.72 MB / 0.5645 GB, free: 11.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/0.6075, allocations: 71.47 kB / 0.5646 GB, free: 11.95 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.6234, allocations: 5.455 MB / 0.5699 GB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.6235, allocations: 0 / 0.5699 GB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.6235, allocations: 3.938 kB / 0.5699 GB, free: 7.34 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004875/0.624, allocations: 422.6 kB / 0.5703 GB, free: 6.887 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.624, allocations: 8.031 kB / 0.5703 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.6241, allocations: 37.73 kB / 0.5704 GB, free: 6.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.742e-05/0.6241, allocations: 19.75 kB / 0.5704 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.6244, allocations: 226.4 kB / 0.5706 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.6244, allocations: 4 kB / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.6244, allocations: 3.25 kB / 0.5706 GB, free: 6.555 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.6246, allocations: 56.42 kB / 0.5707 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.6246, allocations: 0 / 0.5707 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.6246, allocations: 0 / 0.5707 GB, free: 6.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6246, allocations: 4 kB / 0.5707 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.403e-05/0.6247, allocations: 22.48 kB / 0.5707 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.6251, allocations: 300.3 kB / 0.571 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.6252, allocations: 60.17 kB / 0.571 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.6252, allocations: 0 / 0.571 GB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001416/0.6254, allocations: 70.17 kB / 0.5711 GB, free: 6.027 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.6254, allocations: 4 kB / 0.5711 GB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005518/0.626, allocations: 182 kB / 0.5713 GB, free: 5.871 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.626, allocations: 55.03 kB / 0.5713 GB, free: 5.809 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.6262, allocations: 183.9 kB / 0.5715 GB, free: 5.637 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.6262, allocations: 29.33 kB / 0.5715 GB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/0.6263, allocations: 101.1 kB / 0.5716 GB, free: 5.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.6263, allocations: 23.47 kB / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.6263, allocations: 0 / 0.5717 GB, free: 5.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.6265, allocations: 330 kB / 0.572 GB, free: 5.172 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.803e-05/0.6265, allocations: 22.05 kB / 0.572 GB, free: 5.156 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.6266, allocations: 35.89 kB / 0.572 GB, free: 5.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.6267, allocations: 27.36 kB / 0.572 GB, free: 5.105 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6267, allocations: 0 / 0.572 GB, free: 5.105 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001811/0.6268, allocations: 102.9 kB / 0.5721 GB, free: 5.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.6269, allocations: 15.47 kB / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6269, allocations: 0 / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.6269, allocations: 0 / 0.5722 GB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.479e-05/0.627, allocations: 19.92 kB / 0.5722 GB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.627, allocations: 7.953 kB / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.615e-05/0.6271, allocations: 0 / 0.5722 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.6271, allocations: 4 kB / 0.5722 GB, free: 4.977 MB / 378.7 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 (10): * Single equations (assignments): 10 * 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.0001024/0.6272, allocations: 136.4 kB / 0.5723 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.6272, allocations: 15.81 kB / 0.5723 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002669/0.6275, allocations: 123.8 kB / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6275, allocations: 0 / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.6275, allocations: 0 / 0.5725 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.6275, allocations: 3.953 kB / 0.5725 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004638/0.628, allocations: 415.2 kB / 0.5729 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.628, allocations: 0 / 0.5729 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.778e-05/0.6281, allocations: 8 kB / 0.5729 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6281, allocations: 8.031 kB / 0.5729 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.6281, allocations: 3.984 kB / 0.5729 GB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.6281, allocations: 4.328 kB / 0.5729 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.6281, allocations: 288 / 0.5729 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002456/0.6284, allocations: 223.9 kB / 0.5731 GB, free: 4.039 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.6284, allocations: 94.88 kB / 0.5732 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.901e-05/0.6285, allocations: 17.45 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.6286, allocations: 1.312 kB / 0.5732 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.6286, allocations: 8.797 kB / 0.5732 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.6286, allocations: 8.547 kB / 0.5732 GB, free: 3.898 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001431/0.6288, allocations: 152 kB / 0.5734 GB, free: 3.773 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6288, allocations: 0 / 0.5734 GB, free: 3.773 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002617/0.629, allocations: 31.38 kB / 0.5734 GB, free: 3.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001433/0.6305, allocations: 1.2 MB / 0.5746 GB, free: 2.605 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.6307, allocations: 55.28 kB / 0.5746 GB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6307, allocations: 4 kB / 0.5746 GB, free: 2.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.385e-05/0.6308, allocations: 27.67 kB / 0.5746 GB, free: 2.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.631, allocations: 31.86 kB / 0.5747 GB, free: 2.516 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.6323, allocations: 0.9099 MB / 0.5756 GB, free: 1.641 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/0.6326, allocations: 0.7082 MB / 0.5763 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.775e-05/0.6326, allocations: 12.56 kB / 0.5763 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.6327, allocations: 38.67 kB / 0.5763 GB, free: 0.875 MB / 378.7 MB Notification: Performance of SimCode: time 5.91e-07/0.6327, allocations: 0 / 0.5763 GB, free: 0.875 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01589/0.6486, allocations: 3.062 MB / 0.5793 GB, free: 13.83 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/0.649, allocations: 225.6 kB / 0.5795 GB, free: 13.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.337, allocations: 0 / 0.5795 GB, free: 13.57 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat