Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",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.002319/0.002319, allocations: 176.8 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001207/0.001207, allocations: 86.86 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09896/0.09896, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005565, allocations: 15.08 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09186/0.09246, allocations: 50.36 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1429/0.2354, allocations: 78.49 MB / 0.5088 GB, free: 12.24 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.2357, allocations: 87.89 kB / 0.5088 GB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005892/0.2417, allocations: 1.421 MB / 0.5102 GB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2417, allocations: 0 / 0.5102 GB, free: 10.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.2417, allocations: 0 / 0.5102 GB, free: 10.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000515/0.2423, allocations: 375 kB / 0.5106 GB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.2423, allocations: 12.02 kB / 0.5106 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.368e-05/0.2424, allocations: 30.56 kB / 0.5106 GB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.2424, allocations: 7.906 kB / 0.5106 GB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.2427, allocations: 198.8 kB / 0.5108 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.2427, allocations: 3.953 kB / 0.5108 GB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.2427, allocations: 8 kB / 0.5108 GB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.2431, allocations: 113 kB / 0.5109 GB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2431, allocations: 4 kB / 0.5109 GB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2431, allocations: 0 / 0.5109 GB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.2432, allocations: 4 kB / 0.5109 GB, free: 9.875 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.2433, allocations: 27.92 kB / 0.511 GB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.2438, allocations: 269.8 kB / 0.5112 GB, free: 9.531 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002726/0.2441, allocations: 138.3 kB / 0.5114 GB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.2441, allocations: 12.05 kB / 0.5114 GB, free: 9.348 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/0.2442, allocations: 30.56 kB / 0.5114 GB, free: 9.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.2442, allocations: 4 kB / 0.5114 GB, free: 9.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.00038/0.2446, allocations: 85.52 kB / 0.5115 GB, free: 9.215 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.897e-05/0.2447, allocations: 77.11 kB / 0.5116 GB, free: 9.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.2448, allocations: 127.8 kB / 0.5117 GB, free: 8.988 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.2449, allocations: 25.7 kB / 0.5117 GB, free: 8.957 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.2449, allocations: 96.25 kB / 0.5118 GB, free: 8.859 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.952e-05/0.245, allocations: 3.906 kB / 0.5118 GB, free: 8.855 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.245, allocations: 0 / 0.5118 GB, free: 8.855 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.2451, allocations: 314.8 kB / 0.5121 GB, free: 8.539 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.181e-05/0.2452, allocations: 11.98 kB / 0.5121 GB, free: 8.527 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.617e-05/0.2453, allocations: 39.42 kB / 0.5122 GB, free: 8.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.546e-05/0.2454, allocations: 23.89 kB / 0.5122 GB, free: 8.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.2454, allocations: 0 / 0.5122 GB, free: 8.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002698/0.2457, allocations: 69.7 kB / 0.5122 GB, free: 8.379 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.2457, allocations: 11.97 kB / 0.5123 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2458, allocations: 0 / 0.5123 GB, free: 8.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2458, allocations: 4 kB / 0.5123 GB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.2459, allocations: 8 kB / 0.5123 GB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.2459, allocations: 3.984 kB / 0.5123 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.187e-05/0.246, allocations: 11.84 kB / 0.5123 GB, free: 8.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.246, allocations: 11.94 kB / 0.5123 GB, free: 8.328 MB / 362.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 () * Number of clocked 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 0.0001146/0.2462, allocations: 123.1 kB / 0.5124 GB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.2463, allocations: 53.59 kB / 0.5125 GB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.432e-05/0.2463, allocations: 12.58 kB / 0.5125 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2463, allocations: 0 / 0.5125 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-06/0.2464, allocations: 0 / 0.5125 GB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.2464, allocations: 7.969 kB / 0.5125 GB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.2466, allocations: 169.7 kB / 0.5126 GB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.2466, allocations: 3.953 kB / 0.5126 GB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.95e-05/0.2467, allocations: 8 kB / 0.5127 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.2467, allocations: 0 / 0.5127 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.2468, allocations: 0 / 0.5127 GB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.664e-06/0.2468, allocations: 11.92 kB / 0.5127 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.2468, allocations: 4 kB / 0.5127 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.2471, allocations: 182 kB / 0.5128 GB, free: 7.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.921e-05/0.2472, allocations: 93.09 kB / 0.5129 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2472, allocations: 4 kB / 0.5129 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.845e-05/0.2473, allocations: 4 kB / 0.5129 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.2474, allocations: 0 / 0.5129 GB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.2474, allocations: 0 / 0.5129 GB, free: 7.555 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001111/0.2475, allocations: 111.2 kB / 0.513 GB, free: 7.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.2475, allocations: 0 / 0.513 GB, free: 7.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.2478, allocations: 11.94 kB / 0.5131 GB, free: 7.434 MB / 362.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 () * Number of clocked 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.000652/0.2485, allocations: 0.7798 MB / 0.5138 GB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.2487, allocations: 44.09 kB / 0.5139 GB, free: 6.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.2487, allocations: 0 / 0.5139 GB, free: 6.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.706e-05/0.2488, allocations: 8 kB / 0.5139 GB, free: 6.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003188/0.2492, allocations: 27.77 kB / 0.5139 GB, free: 6.547 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.2506, allocations: 0.9508 MB / 0.5148 GB, free: 5.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.251, allocations: 0.7004 MB / 0.5155 GB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.573e-05/0.251, allocations: 0 / 0.5155 GB, free: 4.801 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.2511, allocations: 19.42 kB / 0.5155 GB, free: 4.781 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2511, allocations: 0 / 0.5155 GB, free: 4.781 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.2712, allocations: 1.321 MB / 0.5168 GB, free: 3.469 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002532/0.2715, allocations: 201.9 kB / 0.517 GB, free: 3.223 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.301/2.572, allocations: 0 / 0.517 GB, free: 3.223 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat