Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1",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.001644/0.001648, allocations: 186.9 kB / 15.81 MB, free: 6.352 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.287/2.287, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001159/0.001159, allocations: 94.86 kB / 270.3 MB, free: 13.36 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.1018/0.1018, allocations: 12.59 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005734/0.0005736, allocations: 17.19 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09845/0.09907, allocations: 50.38 MB / 442.5 MB, free: 10.8 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1): time 0.002065/0.1012, allocations: 1.414 MB / 443.9 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.1023, allocations: 0.5428 MB / 444.4 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1024, allocations: 3.938 kB / 444.5 MB, free: 8.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.189e-05/0.1025, allocations: 7.922 kB / 444.5 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.1026, allocations: 15.92 kB / 444.5 MB, free: 8.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005025/0.1031, allocations: 83.72 kB / 444.6 MB, free: 8.719 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001591/0.1033, allocations: 55.88 kB / 444.6 MB, free: 8.664 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.1034, allocations: 33.09 kB / 444.6 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.393e-05/0.1035, allocations: 31.8 kB / 444.7 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.612e-05/0.1036, allocations: 35.83 kB / 444.7 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1036, allocations: 0 / 444.7 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.048e-05/0.1037, allocations: 4 kB / 444.7 MB, free: 8.562 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.627e-05/0.1037, allocations: 27.86 kB / 444.7 MB, free: 8.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.1038, allocations: 41.64 kB / 444.8 MB, free: 8.488 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.1039, allocations: 64.42 kB / 444.8 MB, free: 8.426 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1039, allocations: 4 kB / 444.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1039, allocations: 0 / 444.8 MB, free: 8.422 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.1039, allocations: 0 / 444.8 MB, free: 8.422 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005186/0.1045, allocations: 403.1 kB / 445.2 MB, free: 7.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.1045, allocations: 12.03 kB / 445.3 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.1046, allocations: 38.56 kB / 445.3 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.1046, allocations: 15.81 kB / 445.3 MB, free: 7.906 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.1048, allocations: 214.7 kB / 445.5 MB, free: 7.656 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/0.1049, allocations: 12 kB / 445.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.1049, allocations: 8 kB / 445.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005914/0.1055, allocations: 281.2 kB / 445.8 MB, free: 7.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.1055, allocations: 4 kB / 445.8 MB, free: 7.336 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.1056, allocations: 4 kB / 445.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1056, allocations: 0 / 445.8 MB, free: 7.332 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002114/0.1058, allocations: 63.89 kB / 445.9 MB, free: 7.27 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.1062, allocations: 302.5 kB / 446.2 MB, free: 6.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.1065, allocations: 147.7 kB / 446.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.1065, allocations: 0 / 446.3 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.1065, allocations: 38.69 kB / 446.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.703e-06/0.1066, allocations: 0 / 446.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005638/0.1071, allocations: 181.3 kB / 446.5 MB, free: 6.516 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.1072, allocations: 118.9 kB / 446.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.1074, allocations: 154.2 kB / 446.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.1074, allocations: 29.7 kB / 446.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.1075, allocations: 96 kB / 446.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.1075, allocations: 15.89 kB / 446.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.1075, allocations: 4 kB / 446.9 MB, free: 6.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.1076, allocations: 330.9 kB / 447.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.1077, allocations: 28.36 kB / 447.3 MB, free: 5.699 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.1079, allocations: 139 kB / 447.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.1081, allocations: 51.92 kB / 447.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1081, allocations: 0 / 447.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004528/0.1086, allocations: 181.1 kB / 447.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.1086, allocations: 8 kB / 447.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.1086, allocations: 4.531 kB / 447.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1087, allocations: 8 kB / 447.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000191/0.1089, allocations: 31.92 kB / 447.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1089, allocations: 19.88 kB / 447.7 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.109, allocations: 8 kB / 447.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.1091, allocations: 8 kB / 447.7 MB, free: 5.195 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001224/0.1092, allocations: 153.4 kB / 447.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002456/0.1095, allocations: 117.8 kB / 448 MB, free: 4.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.126e-05/0.1095, allocations: 12.72 kB / 448 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1095, allocations: 8.094 kB / 448 MB, free: 4.895 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1096, allocations: 3.938 kB / 448 MB, free: 4.891 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.1096, allocations: 7.984 kB / 448 MB, free: 4.883 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.1098, allocations: 197.5 kB / 448.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1098, allocations: 0 / 448.2 MB, free: 4.641 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.11, allocations: 23.98 kB / 448.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.11, allocations: 3.938 kB / 448.3 MB, free: 4.613 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.11, allocations: 11.98 kB / 448.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.11, allocations: 0 / 448.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1101, allocations: 0 / 448.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.1104, allocations: 279.8 kB / 448.5 MB, free: 4.297 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.314e-05/0.1105, allocations: 101 kB / 448.6 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.272e-05/0.1106, allocations: 12 kB / 448.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001283/0.1107, allocations: 8 kB / 448.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1108, allocations: 0 / 448.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.1108, allocations: 7.984 kB / 448.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.264e-05/0.1109, allocations: 127.8 kB / 448.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1109, allocations: 0 / 448.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004261/0.1113, allocations: 20 kB / 448.8 MB, free: 4.008 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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.0008473/0.1122, allocations: 1.008 MB / 449.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003681/0.1126, allocations: 111.8 kB / 449.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.738e-06/0.1126, allocations: 0 / 449.9 MB, free: 2.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.1127, allocations: 9.062 kB / 449.9 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.1132, allocations: 79.95 kB / 450 MB, free: 2.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.1154, allocations: 3.209 MB / 453.2 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004161/0.1159, allocations: 0.7283 MB / 454 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.456e-05/0.116, allocations: 9.438 kB / 454 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1161, allocations: 39.36 kB / 454 MB, free: 14.62 MB / 298.7 MB Notification: Performance of SimCode: time 1.093e-06/0.1161, allocations: 0 / 454 MB, free: 14.62 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.1472, allocations: 2.404 MB / 456.4 MB, free: 12.23 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003243/0.1476, allocations: 206.9 kB / 456.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.66/2.808, allocations: 0 / 456.6 MB, free: 11.98 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat