Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001073/0.001074, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.4 MB / 235.5 MB, free: 2.938 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009097/0.0009096, allocations: 91.8 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.021e-05, allocations: 0 / 343.9 MB, free: 4.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3061/0.4227, allocations: 77 MB / 471.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.423, allocations: 79.95 kB / 471.4 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003969/0.427, allocations: 1.469 MB / 472.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.427, allocations: 0 / 472.9 MB, free: 8.938 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.427, allocations: 3.938 kB / 472.9 MB, free: 8.934 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.0003661/0.4274, allocations: 359.2 kB / 473.2 MB, free: 8.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.4275, allocations: 12.03 kB / 473.3 MB, free: 8.527 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.924e-05/0.4275, allocations: 38.52 kB / 473.3 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.4276, allocations: 7.906 kB / 473.3 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.4277, allocations: 196.1 kB / 473.5 MB, free: 8.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.4278, allocations: 4 kB / 473.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.4278, allocations: 0 / 473.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.428, allocations: 113.7 kB / 473.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.428, allocations: 0 / 473.6 MB, free: 8.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4281, allocations: 8 kB / 473.6 MB, free: 8.102 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4281, allocations: 3.953 kB / 473.6 MB, free: 8.098 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.655e-05/0.4281, allocations: 11.94 kB / 473.6 MB, free: 8.086 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.4284, allocations: 269.8 kB / 473.9 MB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.4286, allocations: 135.5 kB / 474 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.4287, allocations: 25.7 kB / 474.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.4287, allocations: 0 / 474.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.4288, allocations: 46.59 kB / 474.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.4288, allocations: 0 / 474.1 MB, free: 7.516 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000178/0.429, allocations: 61.53 kB / 474.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.429, allocations: 77.11 kB / 474.2 MB, free: 7.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4291, allocations: 126.9 kB / 474.4 MB, free: 7.223 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.4291, allocations: 25.7 kB / 474.4 MB, free: 7.191 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.242e-05/0.4292, allocations: 88.05 kB / 474.5 MB, free: 7.102 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.497e-05/0.4292, allocations: 8.016 kB / 474.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-06/0.4292, allocations: 0 / 474.5 MB, free: 7.094 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.4293, allocations: 318.8 kB / 474.8 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.345e-05/0.4294, allocations: 4 kB / 474.8 MB, free: 6.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.006e-05/0.4294, allocations: 31.38 kB / 474.8 MB, free: 6.727 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.528e-05/0.4294, allocations: 11.98 kB / 474.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4294, allocations: 0 / 474.8 MB, free: 6.715 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.593e-05/0.4295, allocations: 65.53 kB / 474.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4296, allocations: 4 kB / 474.9 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4296, allocations: 4 kB / 474.9 MB, free: 6.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.4296, allocations: 3.953 kB / 474.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.998e-05/0.4297, allocations: 8 kB / 474.9 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.4297, allocations: 8.047 kB / 474.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.531e-05/0.4297, allocations: 16.48 kB / 474.9 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.4297, allocations: 4 kB / 474.9 MB, free: 6.598 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 6.226e-05/0.4298, allocations: 101 kB / 475 MB, free: 6.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-05/0.4299, allocations: 49.55 kB / 475.1 MB, free: 6.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.4299, allocations: 16.02 kB / 475.1 MB, free: 6.422 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.4299, allocations: 3.953 kB / 475.1 MB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.43, allocations: 4 kB / 475.1 MB, free: 6.414 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.43, allocations: 4 kB / 475.1 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.4301, allocations: 169.7 kB / 475.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4301, allocations: 0 / 475.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.534e-05/0.4302, allocations: 15.92 kB / 475.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.4302, allocations: 0 / 475.3 MB, free: 6.18 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.4302, allocations: 4 kB / 475.3 MB, free: 6.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.4302, allocations: 3.938 kB / 475.3 MB, free: 6.172 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.4302, allocations: 3.953 kB / 475.3 MB, free: 6.168 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.4304, allocations: 174 kB / 475.5 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4304, allocations: 89 kB / 475.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.4304, allocations: 0 / 475.6 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.04e-05/0.4305, allocations: 15.94 kB / 475.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.906e-05/0.4306, allocations: 0 / 475.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.4306, allocations: 4 kB / 475.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.4306, allocations: 104.7 kB / 475.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4306, allocations: 0 / 475.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.4309, allocations: 8 kB / 475.7 MB, free: 5.738 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.0003702/0.4312, allocations: 0.7722 MB / 476.5 MB, free: 4.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.768e-05/0.4313, allocations: 28.11 kB / 476.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4313, allocations: 0 / 476.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.444e-05/0.4314, allocations: 4 kB / 476.5 MB, free: 4.902 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.4316, allocations: 25.2 kB / 476.5 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003839/0.432, allocations: 139.4 kB / 476.7 MB, free: 4.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.4322, allocations: 0.6965 MB / 477.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.156e-05/0.4323, allocations: 4.188 kB / 477.4 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.806e-05/0.4323, allocations: 15.44 kB / 477.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of SimCode: time 3e-07/0.4323, allocations: 0 / 477.4 MB, free: 3.961 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.4432, allocations: 1.281 MB / 478.7 MB, free: 2.805 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001503/0.4434, allocations: 175.7 kB / 478.8 MB, free: 2.566 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.401/1.844, allocations: 0 / 478.8 MB, free: 2.566 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat