Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 96.83 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009999/0.001, allocations: 206.1 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002639/0.0002641, allocations: 4 kB / 306.7 MB, free: 1.492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1023, allocations: 51.49 MB / 358.2 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.001702/0.104, allocations: 1.258 MB / 359.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00085/0.1049, allocations: 0.5108 MB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.882e-05/0.105, allocations: 3.938 kB / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.359e-05/0.105, allocations: 0 / 360 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.1052, allocations: 11.94 kB / 360 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.1055, allocations: 51.06 kB / 360 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.1055, allocations: 27.97 kB / 360.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.1056, allocations: 15.95 kB / 360.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.1057, allocations: 27.86 kB / 360.1 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.109e-05/0.1058, allocations: 23.86 kB / 360.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.1058, allocations: 0 / 360.1 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.1059, allocations: 4 kB / 360.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.365e-05/0.1059, allocations: 11.97 kB / 360.1 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.106, allocations: 37.64 kB / 360.2 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.417e-05/0.1061, allocations: 35.94 kB / 360.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1061, allocations: 0 / 360.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1061, allocations: 0 / 360.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.1061, allocations: 0 / 360.2 MB, free: 11.97 MB / 302.1 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.00042/0.1065, allocations: 367.3 kB / 360.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.1065, allocations: 8.031 kB / 360.6 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.076e-05/0.1066, allocations: 42.5 kB / 360.6 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.1067, allocations: 19.89 kB / 360.6 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.1069, allocations: 194.8 kB / 360.8 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.897e-06/0.1069, allocations: 4 kB / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.107, allocations: 0 / 360.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.1072, allocations: 109 kB / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.1072, allocations: 0 / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.604e-06/0.1072, allocations: 0 / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.1072, allocations: 3.984 kB / 360.9 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.508e-05/0.1073, allocations: 23.92 kB / 361 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002806/0.1076, allocations: 261.7 kB / 361.2 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.772e-05/0.1077, allocations: 53.2 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.1077, allocations: 4 kB / 361.3 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1078, allocations: 30.56 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.1078, allocations: 3.938 kB / 361.3 MB, free: 10.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002386/0.108, allocations: 77.73 kB / 361.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.1081, allocations: 81.14 kB / 361.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.1082, allocations: 140.7 kB / 361.6 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.1082, allocations: 29.7 kB / 361.6 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.263e-05/0.1083, allocations: 84.14 kB / 361.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.342e-05/0.1083, allocations: 3.906 kB / 361.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/0.1083, allocations: 0 / 361.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1084, allocations: 322.8 kB / 362 MB, free: 9.898 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.127e-05/0.1085, allocations: 11.98 kB / 362 MB, free: 9.887 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.988e-05/0.1085, allocations: 21.72 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.491e-05/0.1086, allocations: 11.98 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1086, allocations: 3.938 kB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000121/0.1087, allocations: 57.75 kB / 362.1 MB, free: 9.781 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.1087, allocations: 10.81 kB / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1087, allocations: 0 / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.1088, allocations: 0 / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.148e-05/0.1088, allocations: 7.984 kB / 362.2 MB, free: 9.766 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.1088, allocations: 7.984 kB / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.555e-05/0.1089, allocations: 0 / 362.2 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1089, allocations: 7.938 kB / 362.2 MB, free: 9.75 MB / 302.1 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 9.239e-05/0.109, allocations: 125.8 kB / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.1091, allocations: 37.55 kB / 362.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.1091, allocations: 15.83 kB / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1091, allocations: 0 / 362.4 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.1091, allocations: 7.984 kB / 362.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.1091, allocations: 0 / 362.4 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.1093, allocations: 169.6 kB / 362.5 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1094, allocations: 4 kB / 362.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.792e-05/0.1094, allocations: 12.03 kB / 362.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1094, allocations: 0 / 362.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.1094, allocations: 0 / 362.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1094, allocations: 0 / 362.5 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1094, allocations: 4 kB / 362.5 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1096, allocations: 181.9 kB / 362.7 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.1097, allocations: 89 kB / 362.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1097, allocations: 0 / 362.8 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.1098, allocations: 8 kB / 362.8 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.153e-05/0.1098, allocations: 4 kB / 362.8 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.1098, allocations: 3.984 kB / 362.8 MB, free: 8.988 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.147e-05/0.1099, allocations: 107.2 kB / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1099, allocations: 0 / 362.9 MB, free: 8.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002121/0.1101, allocations: 11.97 kB / 362.9 MB, free: 8.871 MB / 302.1 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.0004496/0.1106, allocations: 0.7759 MB / 363.7 MB, free: 8.059 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000124/0.1107, allocations: 23.98 kB / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1107, allocations: 0 / 363.7 MB, free: 8.035 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.169e-05/0.1108, allocations: 15.92 kB / 363.8 MB, free: 8.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.1111, allocations: 15.98 kB / 363.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007855/0.1119, allocations: 0.6337 MB / 364.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1121, allocations: 0.6926 MB / 365.1 MB, free: 6.594 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.995e-05/0.1122, allocations: 3.984 kB / 365.1 MB, free: 6.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.819e-05/0.1122, allocations: 15.5 kB / 365.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1122, allocations: 0 / 365.1 MB, free: 6.574 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.1233, allocations: 1.275 MB / 366.4 MB, free: 5.453 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001789/0.1236, allocations: 196.4 kB / 366.6 MB, free: 5.207 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/1.773, allocations: 0 / 366.6 MB, free: 5.207 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat