Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.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.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 201.8 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.2 MB / 245 MB, free: 7.617 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008173/0.0008172, allocations: 96.53 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002839/0.0002839, allocations: 8 kB / 358 MB, free: 9.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1878, allocations: 51.48 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08706/0.2749, allocations: 78.41 MB / 487.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.2752, allocations: 84.83 kB / 488 MB, free: 12.11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004989/0.2802, allocations: 1.798 MB / 489.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2802, allocations: 0 / 489.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.2802, allocations: 0 / 489.8 MB, free: 10.32 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004498/0.2807, allocations: 390.9 kB / 490.2 MB, free: 9.887 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2807, allocations: 12.03 kB / 490.2 MB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.62e-05/0.2808, allocations: 38.56 kB / 490.2 MB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.2809, allocations: 19.89 kB / 490.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.2811, allocations: 200.9 kB / 490.4 MB, free: 9.574 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.2812, allocations: 4 kB / 490.4 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.2812, allocations: 11.94 kB / 490.5 MB, free: 9.559 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.2815, allocations: 139.9 kB / 490.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.2815, allocations: 0 / 490.6 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2815, allocations: 7.984 kB / 490.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2815, allocations: 4 kB / 490.6 MB, free: 9.395 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2816, allocations: 27.98 kB / 490.6 MB, free: 9.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.2821, allocations: 313.6 kB / 490.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.2823, allocations: 158.3 kB / 491.1 MB, free: 8.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.976e-05/0.2823, allocations: 7.984 kB / 491.1 MB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.2825, allocations: 67.42 kB / 491.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.2825, allocations: 0 / 491.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002987/0.2828, allocations: 125.5 kB / 491.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.2828, allocations: 81.11 kB / 491.4 MB, free: 8.504 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.283, allocations: 135.5 kB / 491.5 MB, free: 8.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.283, allocations: 25.7 kB / 491.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.364e-05/0.283, allocations: 99.97 kB / 491.6 MB, free: 8.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.2831, allocations: 11.91 kB / 491.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.2831, allocations: 0 / 491.6 MB, free: 8.223 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2832, allocations: 322.8 kB / 491.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.891e-05/0.2833, allocations: 27.98 kB / 492 MB, free: 7.871 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.622e-05/0.2834, allocations: 61.08 kB / 492 MB, free: 7.793 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.475e-05/0.2834, allocations: 35.92 kB / 492.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2834, allocations: 0 / 492.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002087/0.2837, allocations: 113.5 kB / 492.2 MB, free: 7.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.2837, allocations: 6.5 kB / 492.2 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2837, allocations: 8.156 kB / 492.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2837, allocations: 0 / 492.2 MB, free: 7.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.23e-05/0.2838, allocations: 19.98 kB / 492.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.2838, allocations: 320 / 492.2 MB, free: 7.609 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.909e-05/0.2839, allocations: 11.91 kB / 492.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.2839, allocations: 15.89 kB / 492.2 MB, free: 7.582 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler.y,triggeredSampler.y,clockToTrigger.y2,$CLKPRE.clockToTrigger.y2,$whenCondition1,clockToTrigger.y,$PRE.clockToTrigger.y3,clockToTrigger.y3) * Number of discrete states: 0 () * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001032/0.284, allocations: 132.8 kB / 492.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.325e-05/0.2841, allocations: 49.59 kB / 492.4 MB, free: 7.391 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.2841, allocations: 16.31 kB / 492.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-06/0.2841, allocations: 0 / 492.4 MB, free: 7.375 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.2841, allocations: 4 kB / 492.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2841, allocations: 0 / 492.4 MB, free: 7.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.2845, allocations: 346.5 kB / 492.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2845, allocations: 0 / 492.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.199e-05/0.2846, allocations: 15.98 kB / 492.8 MB, free: 6.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.2846, allocations: 4 kB / 492.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.2846, allocations: 0 / 492.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2846, allocations: 0 / 492.8 MB, free: 6.957 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.2846, allocations: 4 kB / 492.8 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.2849, allocations: 221.9 kB / 493 MB, free: 6.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.554e-05/0.2849, allocations: 100.8 kB / 493.1 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.08e-05/0.285, allocations: 4 kB / 493.1 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.219e-05/0.2851, allocations: 3.984 kB / 493.1 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.2851, allocations: 11.89 kB / 493.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.2851, allocations: 8 kB / 493.1 MB, free: 6.566 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.837e-05/0.2852, allocations: 107.2 kB / 493.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2852, allocations: 0 / 493.2 MB, free: 6.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000238/0.2854, allocations: 12 kB / 493.3 MB, free: 6.449 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: 5 (clockToTrigger.y2,clockToTrigger.y,$whenCondition1,triggeredSampler.y,clockToTrigger.y3) * Number of discrete states: 1 (clockToTrigger.y3) * Number of clocked states: 1 (clockToTrigger.y2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0006348/0.2861, allocations: 0.8593 MB / 494.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001828/0.2863, allocations: 75.97 kB / 494.2 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2863, allocations: 0 / 494.2 MB, free: 5.484 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.076e-05/0.2864, allocations: 23.92 kB / 494.2 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.2866, allocations: 28.02 kB / 494.2 MB, free: 5.434 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.2878, allocations: 1.379 MB / 495.6 MB, free: 3.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.288, allocations: 0.7043 MB / 496.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.626e-05/0.2881, allocations: 4.672 kB / 496.3 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.2881, allocations: 27.42 kB / 496.4 MB, free: 3.219 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2881, allocations: 0 / 496.4 MB, free: 3.219 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.3001, allocations: 1.724 MB / 498.1 MB, free: 1.672 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.3004, allocations: 213.3 kB / 498.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.427/1.727, allocations: 0 / 498.3 MB, free: 1.43 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_AssignClockToTriggerHold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToTriggerHold_res.mat does not exist to compare? outputFormat=mat