Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001052/0.001053, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008707/0.0008707, allocations: 95.64 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.182e-05/2.175e-05, allocations: 4 kB / 343.8 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09736/0.0974, allocations: 51.47 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.4209, allocations: 77.15 MB / 472.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002186/0.4211, allocations: 80.38 kB / 472.5 MB, free: 13.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003969/0.4251, allocations: 1.605 MB / 474.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.4251, allocations: 2.812 kB / 474.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.4251, allocations: 0 / 474.1 MB, free: 12.98 MB / 346.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.0002639/0.4254, allocations: 356.7 kB / 474.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.36e-05/0.4254, allocations: 12.62 kB / 474.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.4256, allocations: 23.27 kB / 474.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.4257, allocations: 198.5 kB / 474.7 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.4257, allocations: 4 kB / 474.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.4258, allocations: 3.609 kB / 474.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.139e-05/0.4258, allocations: 20.33 kB / 474.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.426, allocations: 102.2 kB / 474.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.426, allocations: 0 / 474.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.426, allocations: 0 / 474.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.4261, allocations: 4 kB / 474.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002672/0.4263, allocations: 261 kB / 475.1 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.524e-05/0.4264, allocations: 63.44 kB / 475.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/0.4264, allocations: 26.53 kB / 475.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.4265, allocations: 0.7031 kB / 475.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.4265, allocations: 43.25 kB / 475.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4265, allocations: 0 / 475.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001428/0.4266, allocations: 54.3 kB / 475.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.4267, allocations: 103.6 kB / 475.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.939e-05/0.4268, allocations: 121.6 kB / 475.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.555e-06/0.4268, allocations: 29.8 kB / 475.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.4268, allocations: 99.78 kB / 475.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.029e-05/0.4268, allocations: 0.9375 kB / 475.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.106e-06/0.4268, allocations: 0 / 475.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.4269, allocations: 324.8 kB / 475.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.4269, allocations: 4 kB / 475.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.4269, allocations: 27.84 kB / 475.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.109e-05/0.4269, allocations: 13.3 kB / 476 MB, free: 11.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.427, allocations: 3.375 kB / 476 MB, free: 11.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.936e-05/0.427, allocations: 60.12 kB / 476 MB, free: 10.95 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.427, allocations: 4 kB / 476 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4271, allocations: 4 kB / 476 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.4271, allocations: 0 / 476 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.509e-05/0.4271, allocations: 14.75 kB / 476 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.4272, allocations: 0 / 476 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.94e-05/0.4272, allocations: 5.453 kB / 476 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.4272, allocations: 4 kB / 476 MB, free: 10.92 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 3.788e-05/0.4273, allocations: 104.9 kB / 476.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.467e-05/0.4274, allocations: 61.44 kB / 476.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4274, allocations: 7.906 kB / 476.2 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.4274, allocations: 18.05 kB / 476.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4274, allocations: 96 / 476.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.4275, allocations: 3.984 kB / 476.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4275, allocations: 4.844 kB / 476.2 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.4276, allocations: 152.1 kB / 476.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4276, allocations: 0 / 476.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.753e-05/0.4277, allocations: 14 kB / 476.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4277, allocations: 4.703 kB / 476.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.4277, allocations: 6.938 kB / 476.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4277, allocations: 0.7031 kB / 476.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.4277, allocations: 4 kB / 476.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.958e-05/0.4278, allocations: 187.7 kB / 476.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.4279, allocations: 88.77 kB / 476.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4279, allocations: 4.703 kB / 476.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.638e-05/0.4279, allocations: 4.703 kB / 476.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.989e-05/0.428, allocations: 8.672 kB / 476.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.428, allocations: 0 / 476.7 MB, free: 10.22 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.428, allocations: 112.5 kB / 476.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.4281, allocations: 0 / 476.8 MB, free: 10.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.4283, allocations: 11.94 kB / 476.8 MB, free: 10.11 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.0002551/0.4286, allocations: 0.8617 MB / 477.7 MB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.232e-05/0.4286, allocations: 20.12 kB / 477.7 MB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4286, allocations: 0 / 477.7 MB, free: 9.215 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.4287, allocations: 5 kB / 477.7 MB, free: 9.211 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.4289, allocations: 27.77 kB / 477.7 MB, free: 9.195 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.4292, allocations: 137.7 kB / 477.9 MB, free: 9.035 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.4294, allocations: 0.695 MB / 478.6 MB, free: 8.324 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.074e-05/0.4294, allocations: 2.859 kB / 478.6 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.124e-05/0.4294, allocations: 24.03 kB / 478.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4294, allocations: 0 / 478.6 MB, free: 8.305 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01684/0.4463, allocations: 1.111 MB / 479.7 MB, free: 7.691 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001219/0.4464, allocations: 150.5 kB / 479.9 MB, free: 7.5 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/1.902, allocations: 3.938 kB / 479.9 MB, free: 7.496 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat