Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",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.001537/0.001537, allocations: 184.9 kB / 15.8 MB, free: 6.316 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.021/2.021, 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.00115/0.00115, allocations: 98.84 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.09901/0.09901, allocations: 12.61 MB / 331.1 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005361/0.000536, allocations: 13.22 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09264/0.09322, allocations: 50.37 MB / 442.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.2366, allocations: 78.31 MB / 0.5086 GB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/0.237, allocations: 79.95 kB / 0.5086 GB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007715/0.2447, allocations: 1.671 MB / 0.5103 GB, free: 10.69 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2448, allocations: 0 / 0.5103 GB, free: 10.69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.2448, allocations: 0 / 0.5103 GB, free: 10.69 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.0006081/0.2454, allocations: 402.8 kB / 0.5107 GB, free: 10.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.2455, allocations: 8.031 kB / 0.5107 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.2456, allocations: 38.56 kB / 0.5107 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.2456, allocations: 7.906 kB / 0.5107 GB, free: 10.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.2459, allocations: 194.9 kB / 0.5109 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.246, allocations: 3.953 kB / 0.5109 GB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.857e-05/0.246, allocations: 4 kB / 0.5109 GB, free: 9.949 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/0.2464, allocations: 133.8 kB / 0.511 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2464, allocations: 0 / 0.511 GB, free: 9.797 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.2465, allocations: 4 kB / 0.511 GB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.2465, allocations: 0 / 0.511 GB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002599/0.2468, allocations: 51.95 kB / 0.5111 GB, free: 9.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.2475, allocations: 393.7 kB / 0.5115 GB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.2477, allocations: 71.78 kB / 0.5115 GB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.2477, allocations: 64 / 0.5115 GB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.2478, allocations: 48.05 kB / 0.5116 GB, free: 9.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.2478, allocations: 0 / 0.5116 GB, free: 9.148 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0006272/0.2484, allocations: 129.7 kB / 0.5117 GB, free: 9.016 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.2485, allocations: 106.8 kB / 0.5118 GB, free: 8.887 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.2487, allocations: 141.2 kB / 0.5119 GB, free: 8.742 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.2487, allocations: 29.7 kB / 0.512 GB, free: 8.707 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.366e-05/0.2488, allocations: 92.08 kB / 0.5121 GB, free: 8.613 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.2489, allocations: 7.906 kB / 0.5121 GB, free: 8.605 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.2489, allocations: 4 kB / 0.5121 GB, free: 8.602 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.249, allocations: 322.8 kB / 0.5124 GB, free: 8.277 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001305/0.2492, allocations: 23.98 kB / 0.5124 GB, free: 8.254 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.2493, allocations: 43.42 kB / 0.5124 GB, free: 8.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.2495, allocations: 35.91 kB / 0.5125 GB, free: 8.164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2495, allocations: 3.938 kB / 0.5125 GB, free: 8.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0004006/0.2499, allocations: 93.55 kB / 0.5126 GB, free: 8.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.25, allocations: 4 kB / 0.5126 GB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.25, allocations: 4 kB / 0.5126 GB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.25, allocations: 3.984 kB / 0.5126 GB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.2502, allocations: 12 kB / 0.5126 GB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.2502, allocations: 0 / 0.5126 GB, free: 8.039 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001047/0.2503, allocations: 11.98 kB / 0.5126 GB, free: 8.027 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.2503, allocations: 0 / 0.5126 GB, free: 8.027 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.0001508/0.2505, allocations: 141.6 kB / 0.5127 GB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.2506, allocations: 45.61 kB / 0.5128 GB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.2507, allocations: 15.95 kB / 0.5128 GB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.2507, allocations: 3.984 kB / 0.5128 GB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.2507, allocations: 4 kB / 0.5128 GB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.2507, allocations: 0 / 0.5128 GB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003188/0.2511, allocations: 177.6 kB / 0.513 GB, free: 7.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2511, allocations: 4 kB / 0.513 GB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.2512, allocations: 16.02 kB / 0.513 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2513, allocations: 0 / 0.513 GB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.2513, allocations: 4 kB / 0.513 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2513, allocations: 0 / 0.513 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.2513, allocations: 0 / 0.513 GB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004903/0.2518, allocations: 306.9 kB / 0.5133 GB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2519, allocations: 93 kB / 0.5134 GB, free: 7.117 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.252, allocations: 8 kB / 0.5134 GB, free: 7.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001819/0.2521, allocations: 4 kB / 0.5134 GB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.506e-05/0.2522, allocations: 11.98 kB / 0.5134 GB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.2522, allocations: 0 / 0.5134 GB, free: 7.094 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.2524, allocations: 119.1 kB / 0.5135 GB, free: 6.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.2524, allocations: 0 / 0.5135 GB, free: 6.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000353/0.2527, allocations: 8 kB / 0.5135 GB, free: 6.969 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 (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.0008898/0.2536, allocations: 0.9742 MB / 0.5145 GB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003575/0.254, allocations: 59.91 kB / 0.5145 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2541, allocations: 0 / 0.5145 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.2542, allocations: 23.98 kB / 0.5146 GB, free: 5.871 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.2546, allocations: 33.55 kB / 0.5146 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/0.2565, allocations: 1.069 MB / 0.5156 GB, free: 4.695 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.2569, allocations: 0.7005 MB / 0.5163 GB, free: 3.969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.981e-05/0.257, allocations: 12.17 kB / 0.5163 GB, free: 3.953 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/0.2571, allocations: 15.44 kB / 0.5163 GB, free: 3.938 MB / 362.7 MB Notification: Performance of SimCode: time 1.443e-06/0.2571, allocations: 4 kB / 0.5163 GB, free: 3.934 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02134/0.2784, allocations: 1.624 MB / 0.5179 GB, free: 2.316 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003534/0.2789, allocations: 227.7 kB / 0.5181 GB, free: 2.066 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.34/2.619, allocations: 3.938 kB / 0.5181 GB, free: 2.062 MB / 362.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat