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.00222/0.002226, allocations: 177.7 kB / 8.045 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.3 MB / 213.8 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001148/0.001148, allocations: 88.03 kB / 261.8 MB, free: 1.684 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.1045/0.1045, allocations: 12.61 MB / 322.4 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.272e-05, allocations: 4 kB / 379 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3488, allocations: 50.36 MB / 429.4 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.4915, allocations: 78.48 MB / 0.496 GB, free: 3.734 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.492, allocations: 79.95 kB / 0.4961 GB, free: 3.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02493/0.5169, allocations: 5.168 MB / 0.5011 GB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.747e-06/0.517, allocations: 0 / 0.5011 GB, free: 14.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.907e-05/0.517, allocations: 7.938 kB / 0.5011 GB, free: 14.48 MB / 362.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.0008572/0.5179, allocations: 473.9 kB / 0.5016 GB, free: 13.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.5179, allocations: 8.031 kB / 0.5016 GB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.518, allocations: 27.62 kB / 0.5016 GB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003997/0.5185, allocations: 234.7 kB / 0.5018 GB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.233e-05/0.5185, allocations: 11.95 kB / 0.5018 GB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.253e-05/0.5186, allocations: 8 kB / 0.5018 GB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000515/0.5191, allocations: 176.3 kB / 0.502 GB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/0.5204, allocations: 0.5674 MB / 0.5026 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5204, allocations: 0 / 0.5026 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.5205, allocations: 0 / 0.5026 GB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-05/0.5205, allocations: 16 kB / 0.5026 GB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/0.5212, allocations: 334.8 kB / 0.5029 GB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004865/0.5217, allocations: 215.6 kB / 0.5031 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.522, allocations: 135.2 kB / 0.5032 GB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.873e-05/0.5221, allocations: 4 kB / 0.5032 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.5221, allocations: 38.5 kB / 0.5033 GB, free: 12.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=39): time 2.645e-06/0.5221, allocations: 4 kB / 0.5033 GB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007585/0.5229, allocations: 265.8 kB / 0.5035 GB, free: 11.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.523, allocations: 142.7 kB / 0.5037 GB, free: 11.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.5233, allocations: 150.5 kB / 0.5038 GB, free: 11.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.335e-05/0.5233, allocations: 25.7 kB / 0.5038 GB, free: 11.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.5234, allocations: 96.91 kB / 0.5039 GB, free: 11.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.942e-05/0.5235, allocations: 51.67 kB / 0.504 GB, free: 11.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/0.5235, allocations: 0 / 0.504 GB, free: 11.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5237, allocations: 338.8 kB / 0.5043 GB, free: 10.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001437/0.5238, allocations: 60.86 kB / 0.5044 GB, free: 10.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.5242, allocations: 297.9 kB / 0.5046 GB, free: 10.49 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002655/0.5245, allocations: 119.8 kB / 0.5048 GB, free: 10.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.5245, allocations: 0 / 0.5048 GB, free: 10.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007415/0.5252, allocations: 333.2 kB / 0.5051 GB, free: 10.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.5253, allocations: 8 kB / 0.5051 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.5253, allocations: 8 kB / 0.5051 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.634e-05/0.5253, allocations: 16 kB / 0.5051 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000476/0.5258, allocations: 88.48 kB / 0.5052 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.741e-05/0.5259, allocations: 19.94 kB / 0.5052 GB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.5261, allocations: 23.84 kB / 0.5052 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.5262, allocations: 24 kB / 0.5053 GB, free: 9.859 MB / 362.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 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001726/0.5264, allocations: 128.7 kB / 0.5054 GB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006873/0.5271, allocations: 269.5 kB / 0.5056 GB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.5272, allocations: 31.64 kB / 0.5057 GB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001154/0.5273, allocations: 31.39 kB / 0.5057 GB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5273, allocations: 8 kB / 0.5057 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5273, allocations: 4.031 kB / 0.5057 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.5273, allocations: 0 / 0.5057 GB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.5277, allocations: 205.9 kB / 0.5059 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.5277, allocations: 0 / 0.5059 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005045/0.5282, allocations: 67.84 kB / 0.506 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.5282, allocations: 4 kB / 0.506 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.5283, allocations: 7.984 kB / 0.506 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.5283, allocations: 0 / 0.506 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.5283, allocations: 0 / 0.506 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.529, allocations: 419.1 kB / 0.5064 GB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.5292, allocations: 128.7 kB / 0.5065 GB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.632e-05/0.5293, allocations: 15.98 kB / 0.5065 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.5295, allocations: 7.984 kB / 0.5065 GB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.474e-05/0.5296, allocations: 11.94 kB / 0.5065 GB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.553e-05/0.5297, allocations: 12 kB / 0.5065 GB, free: 8.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001261/0.5298, allocations: 123.2 kB / 0.5067 GB, free: 8.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5298, allocations: 0 / 0.5067 GB, free: 8.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005652/0.5304, allocations: 36 kB / 0.5067 GB, free: 8.277 MB / 362.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 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * 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 (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.001494/0.5319, allocations: 1.251 MB / 0.5079 GB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006413/0.5325, allocations: 241.6 kB / 0.5081 GB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5326, allocations: 384 / 0.5081 GB, free: 6.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.5326, allocations: 11.94 kB / 0.5082 GB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008029/0.5334, allocations: 188 kB / 0.5083 GB, free: 6.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.5353, allocations: 454.3 kB / 0.5088 GB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004864/0.5358, allocations: 0.7882 MB / 0.5095 GB, free: 5.242 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.536, allocations: 22.06 kB / 0.5096 GB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001767/0.5361, allocations: 71.41 kB / 0.5096 GB, free: 5.148 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5362, allocations: 0 / 0.5096 GB, free: 5.148 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04174/0.5779, allocations: 4.312 MB / 0.5138 GB, free: 0.8477 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000323/0.5783, allocations: 171 kB / 0.514 GB, free: 0.6445 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.174, allocations: 0 / 0.514 GB, free: 0.6445 MB / 362.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