Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002243/0.002249, allocations: 185.4 kB / 15.81 MB, free: 6.348 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 94.84 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1021/0.1021, allocations: 12.6 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005772/0.0005771, allocations: 12.62 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09893, allocations: 50.38 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.002024/0.101, allocations: 1.24 MB / 443.7 MB, free: 9.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1021, allocations: 0.497 MB / 444.2 MB, free: 9.051 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1023, allocations: 4 kB / 444.2 MB, free: 9.047 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.423e-05/0.1023, allocations: 7.875 kB / 444.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.1025, allocations: 11.98 kB / 444.2 MB, free: 9.027 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.1028, allocations: 51.81 kB / 444.3 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.103, allocations: 23.91 kB / 444.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1031, allocations: 12 kB / 444.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.1032, allocations: 19.91 kB / 444.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.569e-05/0.1033, allocations: 15.92 kB / 444.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.1033, allocations: 0 / 444.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.774e-05/0.1033, allocations: 11.94 kB / 444.4 MB, free: 8.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.1034, allocations: 11.94 kB / 444.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.556e-05/0.1034, allocations: 33.7 kB / 444.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.399e-05/0.1035, allocations: 35.86 kB / 444.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1035, allocations: 0 / 444.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1035, allocations: 0 / 444.5 MB, free: 8.809 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1035, allocations: 0 / 444.5 MB, free: 8.809 MB / 282.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.0004749/0.104, allocations: 367.8 kB / 444.8 MB, free: 8.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.1041, allocations: 8.031 kB / 444.8 MB, free: 8.395 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.722e-05/0.1041, allocations: 38.56 kB / 444.9 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.1042, allocations: 7.906 kB / 444.9 MB, free: 8.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/0.1044, allocations: 190.9 kB / 445 MB, free: 8.113 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1044, allocations: 8 kB / 445.1 MB, free: 8.105 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.1044, allocations: 4 kB / 445.1 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.1047, allocations: 113 kB / 445.2 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1047, allocations: 3.984 kB / 445.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.1048, allocations: 0 / 445.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.485e-06/0.1048, allocations: 0 / 445.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001219/0.1049, allocations: 31.86 kB / 445.2 MB, free: 7.938 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.1052, allocations: 265.7 kB / 445.5 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.1054, allocations: 45.16 kB / 445.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.1054, allocations: 0 / 445.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1054, allocations: 38.55 kB / 445.5 MB, free: 7.516 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.1055, allocations: 4 kB / 445.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003387/0.1058, allocations: 69.59 kB / 445.6 MB, free: 7.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1059, allocations: 81.09 kB / 445.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.106, allocations: 138.1 kB / 445.8 MB, free: 7.191 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.106, allocations: 29.7 kB / 445.9 MB, free: 7.156 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.404e-05/0.1061, allocations: 92.39 kB / 446 MB, free: 7.062 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.1061, allocations: 7.891 kB / 446 MB, free: 7.055 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.1061, allocations: 0 / 446 MB, free: 7.055 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.465e-05/0.1062, allocations: 318.8 kB / 446.3 MB, free: 6.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.236e-05/0.1063, allocations: 8 kB / 446.3 MB, free: 6.727 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.1064, allocations: 21.7 kB / 446.3 MB, free: 6.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.77e-05/0.1064, allocations: 23.98 kB / 446.3 MB, free: 6.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1065, allocations: 0 / 446.3 MB, free: 6.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001716/0.1066, allocations: 53.62 kB / 446.4 MB, free: 6.617 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.1067, allocations: 8 kB / 446.4 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1067, allocations: 0 / 446.4 MB, free: 6.609 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.1067, allocations: 4.062 kB / 446.4 MB, free: 6.605 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.1068, allocations: 4 kB / 446.4 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1068, allocations: 11.94 kB / 446.4 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.925e-05/0.1069, allocations: 4 kB / 446.4 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.1069, allocations: 4 kB / 446.4 MB, free: 6.582 MB / 282.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 7.452e-05/0.107, allocations: 113.6 kB / 446.5 MB, free: 6.461 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.795e-05/0.1071, allocations: 45.59 kB / 446.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.523e-05/0.1071, allocations: 7.828 kB / 446.6 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1072, allocations: 8.031 kB / 446.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1072, allocations: 0 / 446.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1072, allocations: 3.953 kB / 446.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.1074, allocations: 165.7 kB / 446.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1074, allocations: 0 / 446.7 MB, free: 6.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.1075, allocations: 15.92 kB / 446.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.1075, allocations: 0 / 446.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1075, allocations: 3.938 kB / 446.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1075, allocations: 0 / 446.8 MB, free: 6.16 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1076, allocations: 4 kB / 446.8 MB, free: 6.156 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1078, allocations: 178 kB / 446.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.189e-05/0.1078, allocations: 93 kB / 447 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.1079, allocations: 7.984 kB / 447 MB, free: 5.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.108, allocations: 8.031 kB / 447.1 MB, free: 5.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.1081, allocations: 4 kB / 447.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.236e-06/0.1081, allocations: 3.953 kB / 447.1 MB, free: 5.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.581e-05/0.1082, allocations: 107.2 kB / 447.2 MB, free: 5.719 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1082, allocations: 3.938 kB / 447.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.1085, allocations: 4 kB / 447.2 MB, free: 5.711 MB / 282.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.000434/0.1089, allocations: 0.7681 MB / 447.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1091, allocations: 28.02 kB / 448 MB, free: 4.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.1091, allocations: 4.062 kB / 448 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/0.1092, allocations: 12 kB / 448 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004021/0.1096, allocations: 27.66 kB / 448 MB, free: 4.844 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.1107, allocations: 0.6264 MB / 448.6 MB, free: 4.164 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.1109, allocations: 0.6944 MB / 449.3 MB, free: 3.445 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.429e-05/0.1109, allocations: 3.984 kB / 449.3 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.111, allocations: 15.5 kB / 449.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of SimCode: time 1.062e-06/0.111, allocations: 3.938 kB / 449.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01941/0.1304, allocations: 1.303 MB / 450.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.1307, allocations: 198.3 kB / 450.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.337/2.467, allocations: 4 kB / 450.9 MB, free: 1.891 MB / 282.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat