Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",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.002171/0.002171, allocations: 180.3 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.084/2.084, 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.001112/0.001111, allocations: 90.88 kB / 270.3 MB, free: 13.36 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.09748/0.09748, allocations: 12.6 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005594/0.0005596, allocations: 20.88 kB / 392.1 MB, free: 54.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09461/0.09522, allocations: 50.37 MB / 442.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.2375, allocations: 78.2 MB / 0.5085 GB, free: 12.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.2379, allocations: 79.95 kB / 0.5085 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005409/0.2433, allocations: 1.374 MB / 0.5099 GB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.2433, allocations: 4 kB / 0.5099 GB, free: 11.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.2434, allocations: 3.938 kB / 0.5099 GB, free: 11.03 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005269/0.2439, allocations: 382.9 kB / 0.5103 GB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.244, allocations: 8.031 kB / 0.5103 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.807e-05/0.244, allocations: 46.55 kB / 0.5103 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.618e-05/0.2441, allocations: 7.906 kB / 0.5103 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.2443, allocations: 190.8 kB / 0.5105 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.023e-05/0.2444, allocations: 11.95 kB / 0.5105 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.2444, allocations: 8 kB / 0.5105 GB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.2449, allocations: 169.6 kB / 0.5107 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2449, allocations: 0 / 0.5107 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.2449, allocations: 4 kB / 0.5107 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.245, allocations: 0 / 0.5107 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.2452, allocations: 39.97 kB / 0.5107 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005702/0.2457, allocations: 381.8 kB / 0.5111 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.2461, allocations: 111.9 kB / 0.5112 GB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.2462, allocations: 4 kB / 0.5112 GB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.2462, allocations: 38.56 kB / 0.5112 GB, free: 9.445 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 2.024e-06/0.2462, allocations: 0 / 0.5112 GB, free: 9.445 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005047/0.2467, allocations: 125.5 kB / 0.5114 GB, free: 9.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.2468, allocations: 115.1 kB / 0.5115 GB, free: 9.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.247, allocations: 127.8 kB / 0.5116 GB, free: 9.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2471, allocations: 25.7 kB / 0.5116 GB, free: 9.016 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.503e-05/0.2471, allocations: 96.05 kB / 0.5117 GB, free: 8.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.2472, allocations: 16.03 kB / 0.5117 GB, free: 8.902 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.601e-06/0.2472, allocations: 3.938 kB / 0.5117 GB, free: 8.898 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.2474, allocations: 322.8 kB / 0.512 GB, free: 8.574 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.793e-05/0.2475, allocations: 15.98 kB / 0.512 GB, free: 8.559 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.2476, allocations: 77.12 kB / 0.5121 GB, free: 8.457 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.2477, allocations: 27.98 kB / 0.5121 GB, free: 8.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2477, allocations: 0 / 0.5121 GB, free: 8.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003041/0.2481, allocations: 105.5 kB / 0.5122 GB, free: 8.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.966e-05/0.2481, allocations: 8 kB / 0.5123 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.2481, allocations: 0 / 0.5123 GB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.2481, allocations: 4 kB / 0.5123 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.2483, allocations: 23.92 kB / 0.5123 GB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.2483, allocations: 4.188 kB / 0.5123 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.2484, allocations: 19.83 kB / 0.5123 GB, free: 8.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.2484, allocations: 12.22 kB / 0.5123 GB, free: 8.25 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.0001436/0.2486, allocations: 129.5 kB / 0.5124 GB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.2488, allocations: 77.59 kB / 0.5125 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.967e-05/0.2489, allocations: 8.719 kB / 0.5125 GB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.2489, allocations: 4 kB / 0.5125 GB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2489, allocations: 0 / 0.5125 GB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.924e-06/0.2489, allocations: 3.984 kB / 0.5125 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.2492, allocations: 185.6 kB / 0.5127 GB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.2493, allocations: 0 / 0.5127 GB, free: 7.781 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2494, allocations: 27.92 kB / 0.5127 GB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.2494, allocations: 0 / 0.5127 GB, free: 7.754 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.2495, allocations: 4 kB / 0.5127 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2495, allocations: 0 / 0.5127 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.2495, allocations: 3.984 kB / 0.5127 GB, free: 7.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005803/0.2501, allocations: 335.8 kB / 0.5131 GB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.2502, allocations: 104.8 kB / 0.5132 GB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.2502, allocations: 11.98 kB / 0.5132 GB, free: 7.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2504, allocations: 7.938 kB / 0.5132 GB, free: 7.242 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.2504, allocations: 8 kB / 0.5132 GB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.2505, allocations: 4 kB / 0.5132 GB, free: 7.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.2506, allocations: 107.2 kB / 0.5133 GB, free: 7.125 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.2506, allocations: 0 / 0.5133 GB, free: 7.125 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003798/0.251, allocations: 12 kB / 0.5133 GB, free: 7.113 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000901/0.2519, allocations: 1.006 MB / 0.5143 GB, free: 6.066 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.2522, allocations: 59.92 kB / 0.5143 GB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.183e-06/0.2522, allocations: 0 / 0.5143 GB, free: 6.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.2523, allocations: 20.11 kB / 0.5144 GB, free: 5.988 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.2527, allocations: 39.7 kB / 0.5144 GB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001954/0.2547, allocations: 1.795 MB / 0.5162 GB, free: 4.066 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.2551, allocations: 0.7043 MB / 0.5168 GB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.472e-05/0.2552, allocations: 8.672 kB / 0.5169 GB, free: 3.324 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.603e-05/0.2553, allocations: 23.42 kB / 0.5169 GB, free: 3.301 MB / 362.7 MB Notification: Performance of SimCode: time 1.103e-06/0.2553, allocations: 0 / 0.5169 GB, free: 3.301 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.2768, allocations: 1.591 MB / 0.5184 GB, free: 1.719 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004204/0.2773, allocations: 197.9 kB / 0.5186 GB, free: 1.477 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/2.597, allocations: 7.938 kB / 0.5186 GB, free: 1.469 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat