Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.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) 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(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",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.002144/0.002144, allocations: 175.4 kB / 8.344 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.491/1.491, allocations: 221.5 MB / 230.3 MB, free: 7.57 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.0009151/0.0009151, allocations: 87.5 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.814e-05/1.809e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09465, allocations: 50.42 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3129/0.4076, allocations: 76.34 MB / 463.9 MB, free: 2.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002169/0.4079, allocations: 81.7 kB / 464 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00392/0.4118, allocations: 1.489 MB / 465.5 MB, free: 0.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.4118, allocations: 0 / 465.5 MB, free: 0.875 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.4118, allocations: 0 / 465.5 MB, free: 0.875 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003206/0.4122, allocations: 363.9 kB / 465.8 MB, free: 488 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4122, allocations: 8.031 kB / 465.8 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.4123, allocations: 12.61 kB / 465.8 MB, free: 468 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.4125, allocations: 192.8 kB / 466 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.698e-06/0.4125, allocations: 4 kB / 466 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.757e-06/0.4125, allocations: 0 / 466 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.873e-05/0.4126, allocations: 23.92 kB / 466.1 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.4128, allocations: 105.1 kB / 466.2 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.4128, allocations: 11.86 kB / 466.2 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.4128, allocations: 0 / 466.2 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.4128, allocations: 7.984 kB / 466.2 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.4131, allocations: 251.2 kB / 466.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.129e-05/0.4132, allocations: 59.8 kB / 466.5 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.211e-05/0.4133, allocations: 26.64 kB / 466.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.4133, allocations: 4 kB / 466.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4133, allocations: 38.5 kB / 466.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.4133, allocations: 4 kB / 466.6 MB, free: 15.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001533/0.4135, allocations: 53.55 kB / 466.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.4136, allocations: 118.8 kB / 466.7 MB, free: 15.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.4137, allocations: 119.2 kB / 466.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4137, allocations: 29.7 kB / 466.9 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.134e-05/0.4137, allocations: 92.05 kB / 467 MB, free: 15.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.4138, allocations: 3.984 kB / 467 MB, free: 15.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.4138, allocations: 0 / 467 MB, free: 15.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.4139, allocations: 314.8 kB / 467.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.4139, allocations: 8 kB / 467.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.4139, allocations: 31.44 kB / 467.3 MB, free: 14.78 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.146e-05/0.414, allocations: 7.984 kB / 467.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.414, allocations: 0 / 467.3 MB, free: 14.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.99e-05/0.414, allocations: 57.53 kB / 467.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.4141, allocations: 9.203 kB / 467.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.4141, allocations: 8.125 kB / 467.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.4141, allocations: 0 / 467.4 MB, free: 14.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.4142, allocations: 11.94 kB / 467.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.4142, allocations: 0 / 467.4 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.4142, allocations: 11.92 kB / 467.4 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.4143, allocations: 4 kB / 467.4 MB, free: 14.66 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.752e-05/0.4143, allocations: 101 kB / 467.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.89e-05/0.4144, allocations: 65.53 kB / 467.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.4145, allocations: 11.86 kB / 467.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.151e-05/0.4145, allocations: 11.97 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.4145, allocations: 0 / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4145, allocations: 0 / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4145, allocations: 4 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.4147, allocations: 150.2 kB / 467.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4147, allocations: 3.984 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.4148, allocations: 8 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.4148, allocations: 4 kB / 467.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.606e-06/0.4148, allocations: 8.047 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.4148, allocations: 2.688 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4148, allocations: 7.875 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001501/0.415, allocations: 192.5 kB / 468 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.415, allocations: 93 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.4151, allocations: 4 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.957e-05/0.4151, allocations: 0 / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.4152, allocations: 4 kB / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4152, allocations: 0 / 468.1 MB, free: 13.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.4153, allocations: 107.3 kB / 468.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4153, allocations: 0 / 468.2 MB, free: 13.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.4155, allocations: 8 kB / 468.2 MB, free: 13.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005034/0.416, allocations: 0.86 MB / 469 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.918e-05/0.4161, allocations: 28.06 kB / 469.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4161, allocations: 0 / 469.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.526e-05/0.4161, allocations: 3.984 kB / 469.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.4164, allocations: 20.72 kB / 469.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004045/0.4168, allocations: 143.6 kB / 469.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002796/0.4171, allocations: 0.6966 MB / 469.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.719e-05/0.4172, allocations: 8.172 kB / 469.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.4172, allocations: 23.38 kB / 470 MB, free: 11.9 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4172, allocations: 0 / 470 MB, free: 11.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.4392, allocations: 1.116 MB / 471.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002655/0.4395, allocations: 161.9 kB / 471.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.476/1.915, allocations: 3.938 kB / 471.2 MB, free: 10.6 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat