Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001266/0.001266, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008917/0.0008917, allocations: 90.42 kB / 292.1 MB, free: 5.996 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.918e-05, allocations: 4 kB / 350.6 MB, free: 2.469 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 51.48 MB / 402.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3644/0.4756, allocations: 77.82 MB / 479.9 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002121/0.4759, allocations: 77.33 kB / 480 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00405/0.48, allocations: 1.574 MB / 481.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.48, allocations: 0.6562 kB / 481.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.48, allocations: 6.906 kB / 481.6 MB, free: 10.23 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002915/0.4803, allocations: 360.7 kB / 481.9 MB, free: 9.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.4804, allocations: 8.031 kB / 482 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.4804, allocations: 38.36 kB / 482 MB, free: 9.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.4805, allocations: 22.33 kB / 482 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.4807, allocations: 193.8 kB / 482.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.4807, allocations: 1.219 kB / 482.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.4807, allocations: 4.688 kB / 482.2 MB, free: 9.547 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002158/0.4809, allocations: 117 kB / 482.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.481, allocations: 0 / 482.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.481, allocations: 0 / 482.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.481, allocations: 0 / 482.3 MB, free: 9.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.481, allocations: 12.64 kB / 482.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003079/0.4813, allocations: 282.7 kB / 482.6 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.4815, allocations: 131.2 kB / 482.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.24e-05/0.4816, allocations: 30.7 kB / 482.8 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.4816, allocations: 4 kB / 482.8 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.738e-05/0.4816, allocations: 39 kB / 482.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4816, allocations: 0 / 482.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001479/0.4818, allocations: 49.62 kB / 482.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.4818, allocations: 88.92 kB / 482.9 MB, free: 8.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.4819, allocations: 122.1 kB / 483.1 MB, free: 8.602 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.4819, allocations: 25.7 kB / 483.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.482, allocations: 96.05 kB / 483.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.482, allocations: 3.625 kB / 483.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-06/0.482, allocations: 4.031 kB / 483.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.89e-05/0.4821, allocations: 310.8 kB / 483.5 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.4821, allocations: 7.938 kB / 483.5 MB, free: 8.156 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.196e-05/0.4821, allocations: 35.88 kB / 483.5 MB, free: 8.113 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.153e-05/0.4821, allocations: 8 kB / 483.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.4821, allocations: 3.953 kB / 483.5 MB, free: 8.102 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.184e-05/0.4822, allocations: 67.38 kB / 483.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4822, allocations: 5.875 kB / 483.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4822, allocations: 0 / 483.6 MB, free: 8.031 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.4823, allocations: 4 kB / 483.6 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.4823, allocations: 17.3 kB / 483.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.4824, allocations: 0 / 483.6 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.883e-05/0.4824, allocations: 12.06 kB / 483.7 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.4824, allocations: 0 / 483.7 MB, free: 8.004 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 4.141e-05/0.4825, allocations: 105 kB / 483.8 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.4825, allocations: 57.17 kB / 483.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.4826, allocations: 7.906 kB / 483.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4826, allocations: 6.906 kB / 483.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4826, allocations: 0 / 483.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.4826, allocations: 0 / 483.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.4827, allocations: 177.2 kB / 484 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.4827, allocations: 4 kB / 484 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.222e-05/0.4828, allocations: 12.52 kB / 484 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.4828, allocations: 0 / 484 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.4828, allocations: 0 / 484 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4828, allocations: 0 / 484 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.4828, allocations: 5.5 kB / 484 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001043/0.4829, allocations: 182.3 kB / 484.2 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.185e-05/0.483, allocations: 89 kB / 484.3 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.483, allocations: 4 kB / 484.3 MB, free: 7.293 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.56e-05/0.4831, allocations: 7.812 kB / 484.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.798e-05/0.4831, allocations: 0 / 484.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.4831, allocations: 0 / 484.3 MB, free: 7.289 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.468e-05/0.4832, allocations: 106.8 kB / 484.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4832, allocations: 0 / 484.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.4834, allocations: 4 kB / 484.4 MB, free: 7.188 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002965/0.4837, allocations: 0.7754 MB / 485.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.895e-05/0.4838, allocations: 20.94 kB / 485.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.4838, allocations: 8.25 kB / 485.2 MB, free: 6.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.4838, allocations: 11.86 kB / 485.2 MB, free: 6.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.484, allocations: 17.66 kB / 485.2 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.4844, allocations: 138.8 kB / 485.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.4845, allocations: 0.6926 MB / 486.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.734e-05/0.4845, allocations: 0 / 486.1 MB, free: 5.465 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.4846, allocations: 26.86 kB / 486.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4846, allocations: 0 / 486.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.4966, allocations: 1.289 MB / 487.4 MB, free: 4.375 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001315/0.4967, allocations: 164.6 kB / 487.5 MB, free: 4.148 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.454/1.95, allocations: 1.969 kB / 487.5 MB, free: 4.148 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat