Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001512/0.001512, 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.406/1.406, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009207/0.0009209, allocations: 95.11 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.688e-05/1.686e-05, allocations: 0 / 343.8 MB, free: 8.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 51.47 MB / 395.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.5256, allocations: 77.12 MB / 472.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003254/0.526, allocations: 78.69 kB / 472.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006188/0.5323, allocations: 1.61 MB / 474.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5323, allocations: 0 / 474.1 MB, free: 13.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.304e-05/0.5323, allocations: 0 / 474.1 MB, free: 13.36 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.0004015/0.5327, allocations: 359 kB / 474.4 MB, free: 12.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/0.5328, allocations: 15.97 kB / 474.4 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.533, allocations: 24 kB / 474.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5332, allocations: 188.6 kB / 474.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5333, allocations: 6.234 kB / 474.6 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.5333, allocations: 7.609 kB / 474.7 MB, free: 12.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.5334, allocations: 12.48 kB / 474.7 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.5336, allocations: 95.16 kB / 474.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5337, allocations: 0 / 474.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5337, allocations: 4 kB / 474.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.5337, allocations: 0 / 474.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.5341, allocations: 256.1 kB / 475 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.42e-05/0.5341, allocations: 37.22 kB / 475 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.5342, allocations: 13.98 kB / 475.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.5342, allocations: 4 kB / 475.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/0.5342, allocations: 31.17 kB / 475.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.5342, allocations: 0 / 475.1 MB, free: 12.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000216/0.5344, allocations: 55.81 kB / 475.1 MB, free: 12.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.5345, allocations: 77.11 kB / 475.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.5346, allocations: 126 kB / 475.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.039e-05/0.5346, allocations: 25.7 kB / 475.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.679e-05/0.5347, allocations: 88.42 kB / 475.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.5347, allocations: 7.906 kB / 475.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.5347, allocations: 3.938 kB / 475.5 MB, free: 11.86 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.5348, allocations: 321 kB / 475.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.526e-05/0.5348, allocations: 2.312 kB / 475.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.975e-05/0.5348, allocations: 18.41 kB / 475.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.502e-05/0.5349, allocations: 11.89 kB / 475.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5349, allocations: 2.719 kB / 475.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.212e-05/0.535, allocations: 39.62 kB / 475.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.535, allocations: 8.875 kB / 475.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.535, allocations: 5.562 kB / 475.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.535, allocations: 0 / 475.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.675e-05/0.5351, allocations: 5.922 kB / 475.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5352, allocations: 4 kB / 475.9 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.5352, allocations: 5.297 kB / 475.9 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5352, allocations: 4 kB / 475.9 MB, free: 11.44 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.117e-05/0.5353, allocations: 105.7 kB / 476 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.91e-05/0.5354, allocations: 50.66 kB / 476 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.94e-05/0.5355, allocations: 8.656 kB / 476.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.654e-05/0.5355, allocations: 9.234 kB / 476.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.5355, allocations: 0 / 476.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.5355, allocations: 0.6562 kB / 476.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5355, allocations: 0 / 476.1 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.5357, allocations: 154.5 kB / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.5357, allocations: 7.125 kB / 476.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.385e-05/0.5357, allocations: 5.594 kB / 476.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5357, allocations: 0.75 kB / 476.2 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.5357, allocations: 8.062 kB / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5358, allocations: 0 / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5358, allocations: 0.75 kB / 476.2 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.751e-05/0.5359, allocations: 159.2 kB / 476.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.5359, allocations: 92.58 kB / 476.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.5359, allocations: 4.875 kB / 476.5 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.401e-05/0.536, allocations: 4.797 kB / 476.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.5361, allocations: 4.797 kB / 476.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.5361, allocations: 0 / 476.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.484e-05/0.5361, allocations: 106.2 kB / 476.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.5361, allocations: 0 / 476.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002136/0.5363, allocations: 7.938 kB / 476.6 MB, free: 10.69 MB / 346.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0003087/0.5367, allocations: 0.7689 MB / 477.4 MB, free: 9.902 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.69e-05/0.5367, allocations: 8.922 kB / 477.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.5368, allocations: 0 / 477.4 MB, free: 9.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.597e-05/0.5368, allocations: 11.83 kB / 477.4 MB, free: 9.891 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002572/0.537, allocations: 18.67 kB / 477.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.5374, allocations: 123.6 kB / 477.5 MB, free: 9.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001726/0.5376, allocations: 0.6925 MB / 478.2 MB, free: 9.023 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.402e-05/0.5377, allocations: 5.391 kB / 478.2 MB, free: 9.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.5377, allocations: 16.09 kB / 478.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5377, allocations: 0 / 478.2 MB, free: 9.008 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.5586, allocations: 1.008 MB / 479.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/0.5588, allocations: 155.1 kB / 479.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.496/2.055, allocations: 3.938 kB / 479.4 MB, free: 8.262 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample_res.mat does not exist to compare? outputFormat=mat