Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001504/0.001504, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 225.6 MB / 234.8 MB, free: 3.223 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000915/0.000915, allocations: 103 kB / 286.7 MB, free: 5.281 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.809e-05, allocations: 4 kB / 343.8 MB, free: 8.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 51.48 MB / 395.3 MB, free: 4.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4435, allocations: 77.66 MB / 472.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4438, allocations: 77.19 kB / 473 MB, free: 13.65 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01199/0.4558, allocations: 4.533 MB / 477.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4559, allocations: 0 / 477.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/0.4559, allocations: 8 kB / 477.5 MB, free: 11.15 MB / 346.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.0003838/0.4563, allocations: 394 kB / 477.9 MB, free: 10.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.4563, allocations: 13.77 kB / 477.9 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001507/0.4565, allocations: 26.58 kB / 478 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002026/0.4567, allocations: 214.3 kB / 478.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.4568, allocations: 6.219 kB / 478.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.4568, allocations: 8 kB / 478.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001117/0.4569, allocations: 47.77 kB / 478.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003418/0.4572, allocations: 227 kB / 478.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4573, allocations: 3.984 kB / 478.5 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.4573, allocations: 13.25 kB / 478.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4573, allocations: 0 / 478.5 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003229/0.4576, allocations: 283.7 kB / 478.8 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001468/0.4578, allocations: 123.7 kB / 478.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.296e-05/0.4579, allocations: 62 kB / 478.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.123e-05/0.4579, allocations: 0 / 478.9 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.4579, allocations: 37.25 kB / 479 MB, free: 9.762 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.042e-06/0.4579, allocations: 0 / 479 MB, free: 9.762 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002468/0.4582, allocations: 125.7 kB / 479.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.4582, allocations: 108 kB / 479.2 MB, free: 9.531 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.4583, allocations: 139.8 kB / 479.3 MB, free: 9.41 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.4584, allocations: 25.7 kB / 479.4 MB, free: 9.379 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.854e-05/0.4584, allocations: 90.52 kB / 479.4 MB, free: 9.297 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.012e-05/0.4584, allocations: 17.53 kB / 479.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-06/0.4584, allocations: 0 / 479.5 MB, free: 9.285 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.943e-05/0.4585, allocations: 326.7 kB / 479.8 MB, free: 8.965 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.16e-05/0.4585, allocations: 19.44 kB / 479.8 MB, free: 8.949 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.4586, allocations: 128 kB / 479.9 MB, free: 8.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.4587, allocations: 34.78 kB / 480 MB, free: 8.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4587, allocations: 3.938 kB / 480 MB, free: 8.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001725/0.4588, allocations: 147.2 kB / 480.1 MB, free: 8.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4589, allocations: 11.94 kB / 480.1 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4589, allocations: 4 kB / 480.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4589, allocations: 4 kB / 480.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.459, allocations: 32.34 kB / 480.2 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.565e-06/0.459, allocations: 5.781 kB / 480.2 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.978e-05/0.4591, allocations: 15.84 kB / 480.2 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.4591, allocations: 11.5 kB / 480.2 MB, free: 8.566 MB / 346.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 () * 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 6.042e-05/0.4592, allocations: 117.4 kB / 480.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000157/0.4594, allocations: 123.1 kB / 480.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.991e-05/0.4594, allocations: 11.81 kB / 480.4 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.28e-05/0.4594, allocations: 16.88 kB / 480.5 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.4595, allocations: 5.406 kB / 480.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.4595, allocations: 0 / 480.5 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.4595, allocations: 4 kB / 480.5 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.4596, allocations: 169 kB / 480.6 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4596, allocations: 9.438 kB / 480.6 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.4597, allocations: 31.61 kB / 480.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.4597, allocations: 0 / 480.7 MB, free: 8.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.4598, allocations: 5.969 kB / 480.7 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4598, allocations: 0 / 480.7 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.4598, allocations: 4.938 kB / 480.7 MB, free: 8.105 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001754/0.46, allocations: 248.2 kB / 480.9 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.46, allocations: 106.5 kB / 481 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.4601, allocations: 4 kB / 481 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.19e-05/0.4601, allocations: 1.875 kB / 481 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.4602, allocations: 4 kB / 481 MB, free: 7.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.4602, allocations: 5.781 kB / 481 MB, free: 7.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.839e-05/0.4603, allocations: 107.1 kB / 481.1 MB, free: 7.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4603, allocations: 9.906 kB / 481.2 MB, free: 7.645 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002724/0.4605, allocations: 16 kB / 481.2 MB, free: 7.629 MB / 346.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 () * 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.0004386/0.461, allocations: 0.9706 MB / 482.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000148/0.4611, allocations: 87.95 kB / 482.2 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4612, allocations: 3.25 kB / 482.2 MB, free: 6.609 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.219e-05/0.4612, allocations: 4 kB / 482.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.4615, allocations: 75.27 kB / 482.3 MB, free: 6.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.462, allocations: 218.8 kB / 482.5 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.4622, allocations: 0.72 MB / 483.2 MB, free: 5.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.321e-05/0.4622, allocations: 8.172 kB / 483.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.4623, allocations: 37.16 kB / 483.3 MB, free: 5.59 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4623, allocations: 5.781 kB / 483.3 MB, free: 5.586 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03316/0.4955, allocations: 2.056 MB / 485.4 MB, free: 3.707 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.4957, allocations: 152.4 kB / 485.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.59/2.086, allocations: 0 / 485.5 MB, free: 3.516 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat does not exist to compare? outputFormat=mat