Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.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.UpSample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2",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.001158/0.001158, allocations: 173.1 kB / 16.14 MB, free: 5.652 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0008024/0.0008022, allocations: 82.38 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.07418/0.07418, allocations: 12.61 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004227/0.0004232, allocations: 8 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09911/0.09956, allocations: 50.37 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2): time 0.001957/0.1016, allocations: 1.457 MB / 444.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.1027, allocations: 0.6243 MB / 445.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.1029, allocations: 3.938 kB / 445.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.1031, allocations: 11.92 kB / 445.2 MB, free: 13.21 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1034, allocations: 35.84 kB / 445.3 MB, free: 13.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.1037, allocations: 123.7 kB / 445.4 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001659/0.1039, allocations: 151.5 kB / 445.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001266/0.104, allocations: 25.81 kB / 445.6 MB, free: 12.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1041, allocations: 63.77 kB / 445.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002196/0.1044, allocations: 91.64 kB / 445.7 MB, free: 12.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.53e-05/0.1044, allocations: 8 kB / 445.7 MB, free: 12.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.248e-05/0.1045, allocations: 11.94 kB / 445.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.86e-05/0.1045, allocations: 55.81 kB / 445.8 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.1046, allocations: 113.2 kB / 445.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.1048, allocations: 187.2 kB / 446.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1048, allocations: 0 / 446.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1048, allocations: 0 / 446.1 MB, free: 12.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.1048, allocations: 4 kB / 446.1 MB, free: 12.35 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006801/0.1055, allocations: 478.7 kB / 446.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1056, allocations: 12.03 kB / 446.6 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.671e-05/0.1056, allocations: 46.73 kB / 446.6 MB, free: 11.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.1057, allocations: 24.66 kB / 446.6 MB, free: 11.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.1059, allocations: 251.8 kB / 446.9 MB, free: 11.46 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.106, allocations: 20.38 kB / 446.9 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.106, allocations: 20.31 kB / 446.9 MB, free: 11.42 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008724/0.1069, allocations: 0.6491 MB / 447.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.1069, allocations: 3.984 kB / 447.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1069, allocations: 4 kB / 447.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.107, allocations: 8 kB / 447.6 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003218/0.1073, allocations: 187.8 kB / 447.8 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003422/0.1076, allocations: 374.2 kB / 448.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003486/0.108, allocations: 244.7 kB / 448.4 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002143/0.1082, allocations: 159.1 kB / 448.5 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.1083, allocations: 12 kB / 448.5 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.1083, allocations: 38.56 kB / 448.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.1083, allocations: 3.938 kB / 448.6 MB, free: 9.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007123/0.109, allocations: 429.4 kB / 449 MB, free: 9.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.855e-05/0.1091, allocations: 142.6 kB / 449.1 MB, free: 9.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.1092, allocations: 167.4 kB / 449.3 MB, free: 8.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.1093, allocations: 29.7 kB / 449.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.1093, allocations: 101.1 kB / 449.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.1094, allocations: 43.59 kB / 449.5 MB, free: 8.684 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/0.1094, allocations: 8 kB / 449.5 MB, free: 8.676 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.58e-05/0.1095, allocations: 342.8 kB / 449.8 MB, free: 8.332 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.1096, allocations: 76.83 kB / 449.9 MB, free: 8.258 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.1098, allocations: 326.7 kB / 450.2 MB, free: 7.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002978/0.1101, allocations: 420.9 kB / 450.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.1101, allocations: 4 kB / 450.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004546/0.1106, allocations: 409.3 kB / 451 MB, free: 6.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.1106, allocations: 11.94 kB / 451 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1106, allocations: 8 kB / 451 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.1106, allocations: 12 kB / 451.1 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.1108, allocations: 83.84 kB / 451.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.674e-05/0.1109, allocations: 19.92 kB / 451.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.111, allocations: 36.09 kB / 451.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.111, allocations: 28 kB / 451.2 MB, free: 6.68 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.1112, allocations: 186.4 kB / 451.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.1116, allocations: 294.3 kB / 451.7 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.1117, allocations: 34.64 kB / 451.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.1117, allocations: 4 kB / 451.7 MB, free: 6.156 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.1117, allocations: 4 kB / 451.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.1117, allocations: 7.984 kB / 451.7 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001805/0.1119, allocations: 253.2 kB / 452 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1119, allocations: 4 kB / 452 MB, free: 5.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.1121, allocations: 63.89 kB / 452.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1121, allocations: 0 / 452.1 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.1122, allocations: 15.94 kB / 452.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1122, allocations: 4 kB / 452.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1122, allocations: 0 / 452.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004677/0.1126, allocations: 451.6 kB / 452.5 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.448e-05/0.1127, allocations: 128.7 kB / 452.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.1128, allocations: 19.98 kB / 452.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.1129, allocations: 12 kB / 452.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.113, allocations: 0 / 452.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.113, allocations: 15.98 kB / 452.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.897e-05/0.1131, allocations: 131.2 kB / 452.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1131, allocations: 0 / 452.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.1134, allocations: 48 kB / 452.9 MB, free: 4.934 MB / 298.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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009137/0.1143, allocations: 1.189 MB / 454.1 MB, free: 3.711 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003819/0.1147, allocations: 293.8 kB / 454.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1147, allocations: 0 / 454.3 MB, free: 3.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.606e-05/0.1148, allocations: 15.92 kB / 454.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005834/0.1154, allocations: 208.8 kB / 454.6 MB, free: 3.207 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.1182, allocations: 3.042 MB / 457.6 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003627/0.1186, allocations: 0.7803 MB / 458.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.622e-05/0.1186, allocations: 26.28 kB / 458.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1188, allocations: 67.41 kB / 458.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1188, allocations: 0 / 458.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.1346, allocations: 4.58 MB / 463.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/0.1349, allocations: 240.4 kB / 463.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.993/2.128, allocations: 0 / 463.3 MB, free: 10.09 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat does not exist to compare? outputFormat=mat