Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001076, allocations: 179.9 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 221.3 MB / 236 MB, free: 2.965 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 91.8 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.362e-05, allocations: 4.219 kB / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1429, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4592/0.6021, allocations: 89 MB / 0.5887 GB, free: 280 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.6024, allocations: 71.97 kB / 0.5888 GB, free: 208 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01478/0.6172, allocations: 5.349 MB / 0.594 GB, free: 10.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.6173, allocations: 4 kB / 0.594 GB, free: 10.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.6173, allocations: 0 / 0.594 GB, free: 10.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006214/0.618, allocations: 394.2 kB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.823e-05/0.618, allocations: 8.031 kB / 0.5944 GB, free: 10.43 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.56e-05/0.6181, allocations: 34.5 kB / 0.5944 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.392e-05/0.6182, allocations: 15.91 kB / 0.5944 GB, free: 10.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004064/0.6186, allocations: 198.8 kB / 0.5946 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/0.6187, allocations: 8 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.929e-05/0.6187, allocations: 7.953 kB / 0.5946 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.6188, allocations: 49.67 kB / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.6189, allocations: 0 / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.6189, allocations: 0 / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.6189, allocations: 0 / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.071e-05/0.619, allocations: 15.94 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002438/0.6192, allocations: 189.7 kB / 0.5949 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.6194, allocations: 50.62 kB / 0.5949 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.108e-05/0.6194, allocations: 16.86 kB / 0.595 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.6195, allocations: 7.891 kB / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001446/0.6196, allocations: 71.45 kB / 0.595 GB, free: 9.645 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.6196, allocations: 0 / 0.595 GB, free: 9.645 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002329/0.6199, allocations: 77.59 kB / 0.5951 GB, free: 9.562 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.6199, allocations: 51.41 kB / 0.5952 GB, free: 9.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.6201, allocations: 165.4 kB / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.6201, allocations: 37.69 kB / 0.5954 GB, free: 9.289 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/0.6202, allocations: 96.14 kB / 0.5954 GB, free: 9.191 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.6202, allocations: 15.73 kB / 0.5955 GB, free: 9.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.6202, allocations: 4 kB / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.6204, allocations: 318.8 kB / 0.5958 GB, free: 8.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.411e-05/0.6204, allocations: 15.98 kB / 0.5958 GB, free: 8.836 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.061e-05/0.6205, allocations: 25.72 kB / 0.5958 GB, free: 8.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.6205, allocations: 19.94 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6205, allocations: 3.984 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000134/0.6207, allocations: 77.58 kB / 0.5959 GB, free: 8.699 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.6207, allocations: 11.95 kB / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6207, allocations: 0 / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6207, allocations: 0 / 0.5959 GB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.932e-05/0.6208, allocations: 11.94 kB / 0.5959 GB, free: 8.676 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.6209, allocations: 4 kB / 0.5959 GB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.683e-05/0.6209, allocations: 12.14 kB / 0.5959 GB, free: 8.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.6209, allocations: 8 kB / 0.5959 GB, free: 8.652 MB / 410.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 () * 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 7.581e-05/0.621, allocations: 105 kB / 0.596 GB, free: 8.543 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.621, allocations: 11.81 kB / 0.5961 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.6212, allocations: 89.72 kB / 0.5961 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.6213, allocations: 0 / 0.5961 GB, free: 8.434 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6213, allocations: 4 kB / 0.5961 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.6213, allocations: 0 / 0.5961 GB, free: 8.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.6214, allocations: 197.5 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6215, allocations: 4 kB / 0.5963 GB, free: 8.184 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.119e-05/0.6215, allocations: 7.984 kB / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.6215, allocations: 0 / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.6215, allocations: 0 / 0.5963 GB, free: 8.176 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.6215, allocations: 7.953 kB / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6215, allocations: 0 / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001554/0.6217, allocations: 113 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.6218, allocations: 92.86 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.6218, allocations: 4 kB / 0.5966 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.507e-05/0.6219, allocations: 7.984 kB / 0.5966 GB, free: 7.918 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.6219, allocations: 7.953 kB / 0.5966 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.6219, allocations: 4 kB / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.622, allocations: 140.9 kB / 0.5967 GB, free: 7.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.683e-06/0.6221, allocations: 0 / 0.5967 GB, free: 7.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002173/0.6223, allocations: 27.94 kB / 0.5967 GB, free: 7.742 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001253/0.6235, allocations: 0.9197 MB / 0.5976 GB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001693/0.6237, allocations: 47.92 kB / 0.5977 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.6237, allocations: 0 / 0.5977 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.196e-05/0.6238, allocations: 20 kB / 0.5977 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.6241, allocations: 23.94 kB / 0.5977 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.6247, allocations: 207.1 kB / 0.5979 GB, free: 6.578 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.6251, allocations: 0.7082 MB / 0.5986 GB, free: 5.844 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.642e-05/0.6251, allocations: 8.438 kB / 0.5986 GB, free: 5.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.6252, allocations: 27.42 kB / 0.5986 GB, free: 5.809 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6252, allocations: 0 / 0.5986 GB, free: 5.809 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01509/0.6403, allocations: 2.711 MB / 0.6013 GB, free: 3.184 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.6406, allocations: 192.1 kB / 0.6015 GB, free: 2.953 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/2.35, allocations: 3.938 kB / 0.6015 GB, free: 2.949 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat does not exist to compare? outputFormat=mat