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.001147/0.001147, allocations: 196.8 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.516/1.516, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009362/0.0009362, allocations: 101.6 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.264e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5212, allocations: 77.14 MB / 479.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.5215, allocations: 80.66 kB / 479.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003086/0.5246, allocations: 1.327 MB / 480.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5246, allocations: 0 / 480.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.5246, allocations: 4 kB / 480.7 MB, free: 11.05 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.0003104/0.5249, allocations: 363 kB / 481 MB, free: 10.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.525, allocations: 8.031 kB / 481 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.832e-05/0.525, allocations: 38.31 kB / 481.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.672e-05/0.5251, allocations: 11.22 kB / 481.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.5252, allocations: 195.1 kB / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.5253, allocations: 0.625 kB / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.5253, allocations: 7.609 kB / 481.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.5255, allocations: 120.8 kB / 481.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.5255, allocations: 0 / 481.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.5256, allocations: 1.5 kB / 481.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5256, allocations: 0 / 481.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.376e-05/0.5256, allocations: 23.73 kB / 481.4 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003547/0.526, allocations: 378.5 kB / 481.8 MB, free: 9.828 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.526, allocations: 71.52 kB / 481.9 MB, free: 9.738 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.517e-05/0.5261, allocations: 30.06 kB / 481.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.5261, allocations: 0 / 481.9 MB, free: 9.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.813e-05/0.5261, allocations: 30.56 kB / 481.9 MB, free: 9.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.5261, allocations: 0 / 481.9 MB, free: 9.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.5263, allocations: 72.41 kB / 482 MB, free: 9.594 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5264, allocations: 106.8 kB / 482.1 MB, free: 9.465 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.682e-05/0.5265, allocations: 130.9 kB / 482.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.5265, allocations: 25.7 kB / 482.3 MB, free: 9.312 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.5265, allocations: 90.95 kB / 482.3 MB, free: 9.227 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.12e-05/0.5265, allocations: 11.83 kB / 482.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.5266, allocations: 3.5 kB / 482.4 MB, free: 9.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.273e-05/0.5266, allocations: 322.9 kB / 482.7 MB, free: 8.891 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.5266, allocations: 7.375 kB / 482.7 MB, free: 8.887 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.288e-05/0.5267, allocations: 34.86 kB / 482.7 MB, free: 8.844 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.158e-05/0.5267, allocations: 8.906 kB / 482.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5267, allocations: 0 / 482.7 MB, free: 8.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.339e-05/0.5268, allocations: 69.25 kB / 482.8 MB, free: 8.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.5268, allocations: 8 kB / 482.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5268, allocations: 0 / 482.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5268, allocations: 0.5625 kB / 482.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.502e-05/0.5269, allocations: 15.98 kB / 482.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.5269, allocations: 0 / 482.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.383e-05/0.527, allocations: 8.125 kB / 482.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.527, allocations: 9.234 kB / 482.8 MB, free: 8.734 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.007e-05/0.5271, allocations: 108.9 kB / 482.9 MB, free: 8.621 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/0.5272, allocations: 53.84 kB / 483 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.5272, allocations: 11.34 kB / 483 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5272, allocations: 4.844 kB / 483 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.5272, allocations: 0 / 483 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5272, allocations: 0 / 483 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.5274, allocations: 185.2 kB / 483.2 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5274, allocations: 8.031 kB / 483.2 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.703e-05/0.5275, allocations: 8 kB / 483.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5275, allocations: 2.156 kB / 483.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.5275, allocations: 6 kB / 483.2 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.5275, allocations: 3.938 kB / 483.2 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.5275, allocations: 3.984 kB / 483.2 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.5276, allocations: 270.7 kB / 483.5 MB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.5277, allocations: 92.5 kB / 483.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.5277, allocations: 4 kB / 483.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.5278, allocations: 7.984 kB / 483.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.5279, allocations: 4 kB / 483.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.5279, allocations: 3.953 kB / 483.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.951e-05/0.5279, allocations: 116.1 kB / 483.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5279, allocations: 0 / 483.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002435/0.5282, allocations: 4 kB / 483.7 MB, free: 7.797 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.0003364/0.5285, allocations: 0.9485 MB / 484.7 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.158e-05/0.5286, allocations: 31.11 kB / 484.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5286, allocations: 0 / 484.7 MB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.026e-05/0.5287, allocations: 4 kB / 484.7 MB, free: 6.797 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.5289, allocations: 25.45 kB / 484.7 MB, free: 6.781 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.5293, allocations: 158.5 kB / 484.9 MB, free: 6.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001369/0.5295, allocations: 0.7004 MB / 485.6 MB, free: 5.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.496e-05/0.5295, allocations: 12.11 kB / 485.6 MB, free: 5.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.79e-05/0.5296, allocations: 12.31 kB / 485.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5296, allocations: 0 / 485.6 MB, free: 5.848 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.5424, allocations: 1.436 MB / 487 MB, free: 4.656 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.5426, allocations: 181.1 kB / 487.2 MB, free: 4.438 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.199, allocations: 0 / 487.2 MB, free: 4.438 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