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/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.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/ModelicaServices trunk/package.mo): time 0.000818/0.0008182, allocations: 102.9 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001048, allocations: 192.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246 MB, free: 10.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002272, allocations: 8 kB / 306.8 MB, free: 1.223 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1134, allocations: 51.49 MB / 358.3 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.ShiftSample): time 0.001624/0.115, allocations: 1.262 MB / 359.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007761/0.1158, allocations: 0.5107 MB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.046e-05/0.1159, allocations: 0 / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.949e-05/0.116, allocations: 3.938 kB / 360.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001306/0.1161, allocations: 15.92 kB / 360.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.1164, allocations: 47.28 kB / 360.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.202e-05/0.1165, allocations: 47.78 kB / 360.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.1166, allocations: 16.16 kB / 360.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1167, allocations: 19.92 kB / 360.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.918e-05/0.1168, allocations: 27.8 kB / 360.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1168, allocations: 0 / 360.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.911e-05/0.1168, allocations: 4 kB / 360.3 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.85e-05/0.1169, allocations: 19.92 kB / 360.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.415e-05/0.1169, allocations: 33.7 kB / 360.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.32e-05/0.117, allocations: 35.92 kB / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.117, allocations: 0 / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.117, allocations: 0 / 360.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.117, allocations: 0 / 360.3 MB, free: 11.68 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.0004255/0.1175, allocations: 378 kB / 360.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1175, allocations: 8.031 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.17e-05/0.1175, allocations: 38.5 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.1177, allocations: 23.89 kB / 360.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.1179, allocations: 186.9 kB / 361 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1179, allocations: 7.953 kB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.979e-06/0.1179, allocations: 4 kB / 361 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002513/0.1182, allocations: 109 kB / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1182, allocations: 0 / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1182, allocations: 0 / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1182, allocations: 0 / 361.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.35e-05/0.1183, allocations: 27.92 kB / 361.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000316/0.1186, allocations: 265.7 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.323e-05/0.1187, allocations: 45.14 kB / 361.4 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.1188, allocations: 25.77 kB / 361.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.1188, allocations: 0 / 361.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1188, allocations: 34.56 kB / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1188, allocations: 0 / 361.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002475/0.1191, allocations: 77.52 kB / 361.5 MB, free: 10.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.1191, allocations: 81.36 kB / 361.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.1193, allocations: 137.8 kB / 361.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.374e-05/0.1193, allocations: 25.7 kB / 361.8 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.142e-05/0.1193, allocations: 96.12 kB / 361.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.1194, allocations: 3.906 kB / 361.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.1194, allocations: 0 / 361.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.1195, allocations: 314.8 kB / 362.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.06e-05/0.1195, allocations: 19.92 kB / 362.2 MB, free: 9.562 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.814e-05/0.1196, allocations: 25.66 kB / 362.2 MB, free: 9.531 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.374e-05/0.1196, allocations: 11.98 kB / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1196, allocations: 0 / 362.2 MB, free: 9.52 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001096/0.1198, allocations: 57.75 kB / 362.3 MB, free: 9.457 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1198, allocations: 4 kB / 362.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.1198, allocations: 0 / 362.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.1198, allocations: 7.938 kB / 362.3 MB, free: 9.445 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.977e-05/0.1199, allocations: 11.92 kB / 362.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1199, allocations: 0 / 362.3 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.1199, allocations: 8 kB / 362.3 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.12, allocations: 0 / 362.3 MB, free: 9.426 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.801e-05/0.1201, allocations: 121.8 kB / 362.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.1201, allocations: 41.61 kB / 362.5 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.1202, allocations: 11.83 kB / 362.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1202, allocations: 0 / 362.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1202, allocations: 0 / 362.5 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.912e-06/0.1202, allocations: 7.984 kB / 362.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.1204, allocations: 169.6 kB / 362.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.91e-07/0.1204, allocations: 0 / 362.7 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.265e-05/0.1204, allocations: 8 kB / 362.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1204, allocations: 4 kB / 362.7 MB, free: 9 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.1204, allocations: 7.969 kB / 362.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1204, allocations: 0 / 362.7 MB, free: 8.992 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1205, allocations: 7.969 kB / 362.7 MB, free: 8.984 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.1206, allocations: 168.2 kB / 362.9 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.297e-05/0.1207, allocations: 93.03 kB / 363 MB, free: 8.691 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.1207, allocations: 4 kB / 363 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.773e-05/0.1208, allocations: 4 kB / 363 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.1208, allocations: 0 / 363 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.1208, allocations: 4 kB / 363 MB, free: 8.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.327e-05/0.1209, allocations: 109.8 kB / 363.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1209, allocations: 0 / 363.1 MB, free: 8.574 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.1211, allocations: 4 kB / 363.1 MB, free: 8.57 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.0003714/0.1215, allocations: 0.7014 MB / 363.8 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.1216, allocations: 28.02 kB / 363.8 MB, free: 7.809 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.1217, allocations: 7.875 kB / 363.8 MB, free: 7.801 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.1217, allocations: 11.98 kB / 363.8 MB, free: 7.789 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.122, allocations: 12.03 kB / 363.8 MB, free: 7.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.1227, allocations: 0.4924 MB / 364.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.123, allocations: 0.6966 MB / 365 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.657e-05/0.123, allocations: 0 / 365 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.994e-05/0.1231, allocations: 19.42 kB / 365.1 MB, free: 6.484 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1231, allocations: 3.938 kB / 365.1 MB, free: 6.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.1347, allocations: 1.355 MB / 366.4 MB, free: 5.285 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.135, allocations: 200.9 kB / 366.6 MB, free: 5.043 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/1.797, allocations: 64 / 366.6 MB, free: 5.043 MB / 302.1 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