Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001207/0.001207, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008886/0.0008886, allocations: 94.27 kB / 292.1 MB, free: 5.941 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.561e-05/2.566e-05, allocations: 4 kB / 350.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09686/0.0969, allocations: 51.48 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.319/0.4159, allocations: 77.72 MB / 479.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001894/0.4162, allocations: 80.11 kB / 479.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004403/0.4206, allocations: 1.816 MB / 481.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4206, allocations: 4 kB / 481.7 MB, free: 10.14 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.4206, allocations: 0 / 481.7 MB, free: 10.14 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.0002838/0.4209, allocations: 383.5 kB / 482.1 MB, free: 9.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.4209, allocations: 8.031 kB / 482.1 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.421, allocations: 37.75 kB / 482.2 MB, free: 9.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.4212, allocations: 35.94 kB / 482.2 MB, free: 9.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.4213, allocations: 190 kB / 482.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-06/0.4213, allocations: 0 / 482.4 MB, free: 9.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.4214, allocations: 12.06 kB / 482.4 MB, free: 9.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.4216, allocations: 121 kB / 482.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.4216, allocations: 0 / 482.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.4216, allocations: 0 / 482.5 MB, free: 9.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.4216, allocations: 4 kB / 482.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.4217, allocations: 31.55 kB / 482.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.422, allocations: 377.8 kB / 482.9 MB, free: 8.871 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.466e-05/0.4221, allocations: 67.22 kB / 483 MB, free: 8.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.426e-05/0.4221, allocations: 29.02 kB / 483 MB, free: 8.75 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.4221, allocations: 7.984 kB / 483 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.4222, allocations: 38.48 kB / 483.1 MB, free: 8.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4222, allocations: 4 kB / 483.1 MB, free: 8.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000171/0.4223, allocations: 71.09 kB / 483.1 MB, free: 8.625 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.4224, allocations: 106.8 kB / 483.2 MB, free: 8.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.4225, allocations: 136.7 kB / 483.4 MB, free: 8.371 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-06/0.4225, allocations: 25.7 kB / 483.4 MB, free: 8.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.513e-05/0.4225, allocations: 102.5 kB / 483.5 MB, free: 8.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.4225, allocations: 7.531 kB / 483.5 MB, free: 8.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.4225, allocations: 4.844 kB / 483.5 MB, free: 8.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 3.766e-05/0.4226, allocations: 318.5 kB / 483.8 MB, free: 7.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.187e-05/0.4226, allocations: 7.984 kB / 483.8 MB, free: 7.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.62e-05/0.4226, allocations: 42.88 kB / 483.9 MB, free: 7.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.052e-05/0.4227, allocations: 23.94 kB / 483.9 MB, free: 7.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4227, allocations: 0 / 483.9 MB, free: 7.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.957e-05/0.4228, allocations: 65.06 kB / 483.9 MB, free: 7.777 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.4228, allocations: 4 kB / 484 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4228, allocations: 1.031 kB / 484 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.4228, allocations: 4.562 kB / 484 MB, free: 7.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.028e-05/0.4229, allocations: 15.67 kB / 484 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4229, allocations: 7.938 kB / 484 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.423, allocations: 16.02 kB / 484 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.423, allocations: 4.938 kB / 484 MB, free: 7.73 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 3.815e-05/0.4231, allocations: 104.9 kB / 484.1 MB, free: 7.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.783e-05/0.4231, allocations: 49.28 kB / 484.2 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.4232, allocations: 11.34 kB / 484.2 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4232, allocations: 4 kB / 484.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4232, allocations: 0 / 484.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.4232, allocations: 2.25 kB / 484.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.4234, allocations: 184.5 kB / 484.3 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4234, allocations: 3.953 kB / 484.4 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.328e-05/0.4235, allocations: 21.05 kB / 484.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.4235, allocations: 0 / 484.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.4235, allocations: 0 / 484.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4235, allocations: 0 / 484.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4235, allocations: 4 kB / 484.4 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001259/0.4236, allocations: 275.6 kB / 484.6 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.4237, allocations: 96.61 kB / 484.7 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.4237, allocations: 4 kB / 484.7 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.4238, allocations: 4.5 kB / 484.7 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.4239, allocations: 7.984 kB / 484.8 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.4239, allocations: 7.938 kB / 484.8 MB, free: 6.898 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.4239, allocations: 115.1 kB / 484.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4239, allocations: 0 / 484.9 MB, free: 6.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4242, allocations: 11.5 kB / 484.9 MB, free: 6.789 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: 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.0003258/0.4245, allocations: 0.9417 MB / 485.8 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.438e-05/0.4246, allocations: 31.11 kB / 485.9 MB, free: 5.797 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.4246, allocations: 4 kB / 485.9 MB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.422e-05/0.4246, allocations: 15.44 kB / 485.9 MB, free: 5.781 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.4249, allocations: 31 kB / 485.9 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.4253, allocations: 168.6 kB / 486.1 MB, free: 5.562 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.4254, allocations: 0.7004 MB / 486.8 MB, free: 4.836 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.479e-05/0.4255, allocations: 4.188 kB / 486.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.594e-05/0.4255, allocations: 22.61 kB / 486.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4255, allocations: 4 kB / 486.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01087/0.4364, allocations: 1.61 MB / 488.4 MB, free: 3.441 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001805/0.4366, allocations: 183.7 kB / 488.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.571/2.007, allocations: 2.25 kB / 488.6 MB, free: 3.215 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleVectorizedAndClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat does not exist to compare? outputFormat=mat