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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009878/0.0009877, allocations: 95.3 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009739/0.000974, allocations: 201.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.38/1.38, allocations: 227.3 MB / 245.9 MB, free: 10.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 4 kB / 306.7 MB, free: 1.25 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1015, allocations: 51.5 MB / 358.2 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001778/0.1033, allocations: 1.309 MB / 359.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007743/0.1041, allocations: 0.4952 MB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.1042, allocations: 0 / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 7.502e-05/0.1043, allocations: 3.938 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.545e-05/0.1044, allocations: 19.91 kB / 360 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002429/0.1046, allocations: 39.89 kB / 360.1 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.171e-05/0.1047, allocations: 43.81 kB / 360.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.1049, allocations: 19.98 kB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.105, allocations: 27.86 kB / 360.2 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.134e-05/0.105, allocations: 27.83 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.1051, allocations: 4 kB / 360.2 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.514e-05/0.1051, allocations: 8 kB / 360.2 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.627e-05/0.1052, allocations: 11.92 kB / 360.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.1052, allocations: 37.64 kB / 360.2 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.949e-05/0.1053, allocations: 51.91 kB / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.1053, allocations: 0 / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1053, allocations: 0 / 360.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1053, allocations: 4 kB / 360.3 MB, free: 11.63 MB / 302.1 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.0004652/0.1058, allocations: 375.3 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1058, allocations: 8.031 kB / 360.7 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.539e-05/0.1059, allocations: 34.55 kB / 360.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.1061, allocations: 43.8 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.1063, allocations: 196 kB / 360.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.1063, allocations: 7.938 kB / 361 MB, free: 10.88 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/0.1063, allocations: 11.94 kB / 361 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003133/0.1067, allocations: 121.9 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.1067, allocations: 4 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1067, allocations: 4 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.1067, allocations: 4 kB / 361.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.1069, allocations: 47.91 kB / 361.1 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004757/0.1074, allocations: 373.9 kB / 361.5 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.1075, allocations: 91.77 kB / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.1076, allocations: 4.062 kB / 361.6 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1076, allocations: 34.56 kB / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.1076, allocations: 0 / 361.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.000421/0.108, allocations: 210.6 kB / 361.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/0.1081, allocations: 106.8 kB / 361.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.1082, allocations: 150 kB / 362.1 MB, free: 9.574 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1083, allocations: 33.7 kB / 362.1 MB, free: 9.535 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.1083, allocations: 95.98 kB / 362.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1084, allocations: 7.906 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-06/0.1084, allocations: 0 / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1085, allocations: 322.8 kB / 362.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.939e-05/0.1086, allocations: 15.98 kB / 362.6 MB, free: 9.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.928e-05/0.1086, allocations: 55.34 kB / 362.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.692e-05/0.1087, allocations: 27.92 kB / 362.6 MB, free: 8.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.1087, allocations: 3.953 kB / 362.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001912/0.1089, allocations: 93.59 kB / 362.7 MB, free: 8.895 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.109, allocations: 8 kB / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.109, allocations: 0 / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.109, allocations: 0 / 362.7 MB, free: 8.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.1091, allocations: 20.11 kB / 362.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1091, allocations: 0 / 362.8 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.1092, allocations: 15.91 kB / 362.8 MB, free: 8.852 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1092, allocations: 0 / 362.8 MB, free: 8.852 MB / 302.1 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.0001074/0.1093, allocations: 125.8 kB / 362.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/0.1094, allocations: 53.55 kB / 362.9 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.842e-05/0.1095, allocations: 23.89 kB / 363 MB, free: 8.633 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.1095, allocations: 4.031 kB / 363 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1095, allocations: 7.938 kB / 363 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1095, allocations: 0 / 363 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.1098, allocations: 177.6 kB / 363.2 MB, free: 8.398 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1098, allocations: 4 kB / 363.2 MB, free: 8.395 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.1099, allocations: 15.94 kB / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1099, allocations: 0 / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.038e-05/0.1099, allocations: 0 / 363.2 MB, free: 8.379 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.1099, allocations: 4 kB / 363.2 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1099, allocations: 3.938 kB / 363.2 MB, free: 8.371 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.1102, allocations: 306.9 kB / 363.5 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1103, allocations: 93 kB / 363.6 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.1103, allocations: 0 / 363.6 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.1104, allocations: 8 kB / 363.6 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.78e-05/0.1105, allocations: 7.984 kB / 363.6 MB, free: 7.914 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.1105, allocations: 4 kB / 363.6 MB, free: 7.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.523e-05/0.1106, allocations: 115.1 kB / 363.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1106, allocations: 0 / 363.7 MB, free: 7.797 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1109, allocations: 12 kB / 363.7 MB, free: 7.785 MB / 302.1 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0005918/0.1115, allocations: 0.9783 MB / 364.7 MB, free: 6.766 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000186/0.1116, allocations: 56.09 kB / 364.8 MB, free: 6.711 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1117, allocations: 4.062 kB / 364.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.202e-05/0.1117, allocations: 23.98 kB / 364.8 MB, free: 6.684 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.1121, allocations: 23.97 kB / 364.8 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1132, allocations: 1.062 MB / 365.9 MB, free: 5.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1135, allocations: 0.7043 MB / 366.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.887e-05/0.1135, allocations: 7.984 kB / 366.6 MB, free: 4.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1136, allocations: 27.48 kB / 366.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1136, allocations: 0 / 366.6 MB, free: 4.754 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01212/0.1257, allocations: 1.601 MB / 368.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.1259, allocations: 216.4 kB / 368.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.867, allocations: 0 / 368.4 MB, free: 3.09 MB / 302.1 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