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.001014/0.001014, allocations: 197.5 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.235/1.235, allocations: 227.2 MB / 245 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008673/0.0008673, allocations: 99.53 kB / 297.3 MB, free: 5.953 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001922/0.0001923, allocations: 4 kB / 358 MB, free: 9.211 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1668, allocations: 51.49 MB / 409.5 MB, free: 26.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07886/0.2457, allocations: 77.85 MB / 487.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.2459, allocations: 79.95 kB / 487.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004048/0.25, allocations: 1.624 MB / 489.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.25, allocations: 0 / 489.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.25, allocations: 8 kB / 489.1 MB, free: 11.01 MB / 362.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.0003212/0.2504, allocations: 371 kB / 489.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2504, allocations: 12.03 kB / 489.4 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.2504, allocations: 34.56 kB / 489.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.2506, allocations: 19.89 kB / 489.5 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.2507, allocations: 190.8 kB / 489.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2507, allocations: 15.95 kB / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.2508, allocations: 0 / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.251, allocations: 109 kB / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.77e-06/0.251, allocations: 0 / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.251, allocations: 0 / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.085e-06/0.251, allocations: 0 / 489.8 MB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.2511, allocations: 31.97 kB / 489.8 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002889/0.2514, allocations: 269.7 kB / 490.1 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.935e-05/0.2515, allocations: 53.14 kB / 490.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2515, allocations: 0 / 490.1 MB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2515, allocations: 34.62 kB / 490.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 1.844e-06/0.2515, allocations: 0 / 490.2 MB, free: 9.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002072/0.2518, allocations: 81.61 kB / 490.3 MB, free: 9.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.2518, allocations: 81.05 kB / 490.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.013e-05/0.2519, allocations: 126.9 kB / 490.5 MB, free: 9.383 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.2519, allocations: 25.7 kB / 490.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.269e-05/0.252, allocations: 88.14 kB / 490.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.397e-06/0.252, allocations: 0 / 490.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.534e-06/0.252, allocations: 4 kB / 490.6 MB, free: 9.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.2521, allocations: 326.9 kB / 490.9 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.805e-05/0.2521, allocations: 8 kB / 490.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.679e-05/0.2522, allocations: 21.7 kB / 490.9 MB, free: 8.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.2522, allocations: 8 kB / 490.9 MB, free: 8.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2522, allocations: 4.062 kB / 490.9 MB, free: 8.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.2523, allocations: 73.45 kB / 491 MB, free: 8.805 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.078e-05/0.2523, allocations: 4 kB / 491 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.2524, allocations: 0 / 491 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.2524, allocations: 0 / 491 MB, free: 8.801 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.252e-05/0.2524, allocations: 8 kB / 491 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2524, allocations: 0 / 491 MB, free: 8.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.019e-05/0.2525, allocations: 16.05 kB / 491 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-06/0.2525, allocations: 0 / 491 MB, free: 8.777 MB / 362.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 () * Number of clocked 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.909e-05/0.2526, allocations: 117.8 kB / 491.2 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.2526, allocations: 41.55 kB / 491.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.872e-05/0.2527, allocations: 15.86 kB / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2527, allocations: 0 / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2527, allocations: 0 / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.2527, allocations: 0 / 491.2 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001388/0.2528, allocations: 169.6 kB / 491.4 MB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2528, allocations: 4.031 kB / 491.4 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.2529, allocations: 8 kB / 491.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.2529, allocations: 0 / 491.4 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2529, allocations: 7.984 kB / 491.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.2529, allocations: 0 / 491.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2529, allocations: 0 / 491.4 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001526/0.2531, allocations: 181.9 kB / 491.6 MB, free: 8.145 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.2531, allocations: 89 kB / 491.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.2532, allocations: 0 / 491.7 MB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.723e-05/0.2532, allocations: 7.984 kB / 491.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.2533, allocations: 0 / 491.7 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.2533, allocations: 3.938 kB / 491.7 MB, free: 8.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.56e-05/0.2533, allocations: 118 kB / 491.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2534, allocations: 0 / 491.8 MB, free: 7.914 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002032/0.2536, allocations: 8 kB / 491.8 MB, free: 7.906 MB / 362.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 () * Number of clocked 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.0003682/0.2539, allocations: 0.7785 MB / 492.6 MB, free: 7.098 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.254, allocations: 27.92 kB / 492.6 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.2541, allocations: 0 / 492.6 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.656e-05/0.2541, allocations: 8 kB / 492.6 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.2543, allocations: 20.23 kB / 492.6 MB, free: 7.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.255, allocations: 0.6403 MB / 493.3 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001942/0.2553, allocations: 0.6965 MB / 494 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.785e-05/0.2553, allocations: 0 / 494 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.233e-05/0.2553, allocations: 19.44 kB / 494 MB, free: 5.602 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2553, allocations: 0 / 494 MB, free: 5.602 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01069/0.266, allocations: 1.343 MB / 495.3 MB, free: 4.414 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001453/0.2662, allocations: 185.9 kB / 495.5 MB, free: 4.18 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.41/1.676, allocations: 4 kB / 495.5 MB, free: 4.176 MB / 362.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