Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.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.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00143/0.00143, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.6 MB / 234.8 MB, free: 3.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009398/0.0009398, allocations: 93.95 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.158e-05/2.161e-05, allocations: 4 kB / 343.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 51.48 MB / 395.3 MB, free: 4.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3753/0.4832, allocations: 76.47 MB / 471.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4835, allocations: 79.98 kB / 471.8 MB, free: 14.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003202/0.4867, allocations: 1.324 MB / 473.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4867, allocations: 0 / 473.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4867, allocations: 4 kB / 473.1 MB, free: 13.65 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.0003055/0.4871, allocations: 356.9 kB / 473.5 MB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4871, allocations: 12.69 kB / 473.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.4871, allocations: 13.83 kB / 473.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.4873, allocations: 189.5 kB / 473.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.756e-06/0.4873, allocations: 0 / 473.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.4873, allocations: 4.312 kB / 473.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.356e-05/0.4874, allocations: 28.72 kB / 473.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.4876, allocations: 109 kB / 473.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.4876, allocations: 0 / 473.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.4877, allocations: 4.703 kB / 473.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.4877, allocations: 0 / 473.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003348/0.488, allocations: 350.1 kB / 474.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.484e-05/0.4881, allocations: 64.47 kB / 474.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.26e-05/0.4881, allocations: 27.59 kB / 474.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.4881, allocations: 0.8438 kB / 474.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.355e-05/0.4882, allocations: 42.19 kB / 474.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.4882, allocations: 4 kB / 474.3 MB, free: 12.39 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001625/0.4883, allocations: 66 kB / 474.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.4884, allocations: 102.8 kB / 474.5 MB, free: 12.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.147e-05/0.4885, allocations: 131.3 kB / 474.6 MB, free: 12.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.4885, allocations: 25.7 kB / 474.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.904e-05/0.4885, allocations: 84.88 kB / 474.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.4885, allocations: 16.89 kB / 474.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4885, allocations: 4 kB / 474.7 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.878e-05/0.4886, allocations: 316.1 kB / 475.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.514e-05/0.4886, allocations: 8.859 kB / 475.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.4887, allocations: 28.05 kB / 475.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/0.4887, allocations: 16.88 kB / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.4887, allocations: 0 / 475.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.484e-05/0.4888, allocations: 60.59 kB / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.4888, allocations: 5.078 kB / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.4888, allocations: 0 / 475.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4888, allocations: 7.25 kB / 475.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.085e-05/0.4889, allocations: 11.14 kB / 475.2 MB, free: 11.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.4889, allocations: 4 kB / 475.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.315e-05/0.489, allocations: 9.531 kB / 475.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.317e-06/0.489, allocations: 5.875 kB / 475.2 MB, free: 11.5 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 5.63e-05/0.4891, allocations: 106.3 kB / 475.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001036/0.4892, allocations: 69.08 kB / 475.4 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.915e-05/0.4892, allocations: 9.5 kB / 475.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.4893, allocations: 12.81 kB / 475.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.4893, allocations: 4.094 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4893, allocations: 0 / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4893, allocations: 4 kB / 475.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.4895, allocations: 157.6 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4895, allocations: 4.703 kB / 475.6 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.4896, allocations: 14.52 kB / 475.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.4896, allocations: 4 kB / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.4896, allocations: 0 / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4896, allocations: 5.297 kB / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.4896, allocations: 0 / 475.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.4897, allocations: 270 kB / 475.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.4898, allocations: 85.14 kB / 475.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.537e-05/0.4898, allocations: 0 / 475.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.4899, allocations: 14.3 kB / 476 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.4899, allocations: 4.922 kB / 476 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.49, allocations: 5.781 kB / 476 MB, free: 10.72 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.49, allocations: 111.5 kB / 476.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.49, allocations: 0 / 476.1 MB, free: 10.62 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.4903, allocations: 9.172 kB / 476.1 MB, free: 10.61 MB / 346.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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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.0003164/0.4906, allocations: 0.9359 MB / 477 MB, free: 9.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.577e-05/0.4907, allocations: 26.3 kB / 477 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4907, allocations: 256 / 477 MB, free: 9.641 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.596e-05/0.4907, allocations: 11.81 kB / 477.1 MB, free: 9.633 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.491, allocations: 23.31 kB / 477.1 MB, free: 9.617 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.4915, allocations: 155.8 kB / 477.2 MB, free: 9.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.4917, allocations: 0.6957 MB / 477.9 MB, free: 8.738 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.67e-05/0.4917, allocations: 9.75 kB / 477.9 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.047e-05/0.4918, allocations: 22.75 kB / 478 MB, free: 8.715 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4918, allocations: 3.938 kB / 478 MB, free: 8.711 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.5131, allocations: 1.1 MB / 479.1 MB, free: 8.102 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002701/0.5134, allocations: 174.7 kB / 479.2 MB, free: 7.914 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.5/2.014, allocations: 0 / 479.2 MB, free: 7.914 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat