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.002345/0.002345, allocations: 173.8 kB / 15.81 MB, free: 6.281 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, 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.001032/0.001032, allocations: 86.36 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.08577/0.08577, allocations: 12.6 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004208/0.0004209, allocations: 16.38 kB / 392.1 MB, free: 54.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1041, allocations: 50.38 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001523/0.1057, allocations: 1.303 MB / 443.8 MB, free: 9.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006282/0.1064, allocations: 0.4922 MB / 444.3 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.036e-05/0.1065, allocations: 4 kB / 444.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.325e-05/0.1065, allocations: 7.922 kB / 444.3 MB, free: 8.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.276e-05/0.1066, allocations: 7.938 kB / 444.3 MB, free: 8.988 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1069, allocations: 39.89 kB / 444.4 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.91e-05/0.107, allocations: 51.78 kB / 444.4 MB, free: 8.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.848e-05/0.1071, allocations: 15.98 kB / 444.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.596e-05/0.1072, allocations: 27.86 kB / 444.5 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.1072, allocations: 23.86 kB / 444.5 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.126e-05/0.1072, allocations: 4 kB / 444.5 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.431e-05/0.1073, allocations: 0 / 444.5 MB, free: 8.828 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.52e-05/0.1073, allocations: 15.98 kB / 444.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.201e-05/0.1073, allocations: 37.64 kB / 444.5 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.41e-05/0.1074, allocations: 44.47 kB / 444.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1074, allocations: 4 kB / 444.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.1074, allocations: 0 / 444.6 MB, free: 8.723 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1074, allocations: 0 / 444.6 MB, free: 8.723 MB / 282.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.0004305/0.1079, allocations: 383.2 kB / 445 MB, free: 8.301 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1079, allocations: 8.031 kB / 445 MB, free: 8.293 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.075e-05/0.108, allocations: 42.55 kB / 445 MB, free: 8.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.527e-05/0.108, allocations: 11.81 kB / 445 MB, free: 8.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.1081, allocations: 198.8 kB / 445.2 MB, free: 7.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.1082, allocations: 4 kB / 445.2 MB, free: 7.992 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.1082, allocations: 4 kB / 445.2 MB, free: 7.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.1084, allocations: 129.9 kB / 445.3 MB, free: 7.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.1085, allocations: 8 kB / 445.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1085, allocations: 0 / 445.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.1085, allocations: 0 / 445.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.1086, allocations: 47.91 kB / 445.4 MB, free: 7.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003734/0.109, allocations: 381.9 kB / 445.8 MB, free: 7.355 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.1091, allocations: 87.77 kB / 445.9 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.713e-05/0.1092, allocations: 42.56 kB / 445.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.1093, allocations: 11.98 kB / 445.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.1093, allocations: 30.56 kB / 445.9 MB, free: 7.141 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.203e-06/0.1093, allocations: 7.938 kB / 445.9 MB, free: 7.133 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003345/0.1096, allocations: 121.5 kB / 446.1 MB, free: 7.008 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1097, allocations: 115.1 kB / 446.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.1098, allocations: 150.1 kB / 446.3 MB, free: 6.711 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.1098, allocations: 29.7 kB / 446.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.1098, allocations: 99.97 kB / 446.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.521e-05/0.1098, allocations: 7.906 kB / 446.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.706e-06/0.1099, allocations: 3.938 kB / 446.5 MB, free: 6.562 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.553e-05/0.1099, allocations: 322.8 kB / 446.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.11, allocations: 27.98 kB / 446.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.669e-05/0.1101, allocations: 43.42 kB / 446.8 MB, free: 6.156 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.221e-05/0.1101, allocations: 27.98 kB / 446.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1102, allocations: 0 / 446.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001684/0.1103, allocations: 93.53 kB / 447 MB, free: 6.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.1103, allocations: 8.125 kB / 447 MB, free: 6.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1104, allocations: 8 kB / 447 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.1104, allocations: 0 / 447 MB, free: 6.016 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.859e-05/0.1105, allocations: 15.98 kB / 447 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1105, allocations: 0 / 447 MB, free: 6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.766e-05/0.1106, allocations: 15.89 kB / 447 MB, free: 5.984 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1106, allocations: 0 / 447 MB, free: 5.984 MB / 282.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 6.255e-05/0.1106, allocations: 125.6 kB / 447.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.1107, allocations: 61.62 kB / 447.2 MB, free: 5.785 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.1107, allocations: 15.81 kB / 447.2 MB, free: 5.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.1108, allocations: 7.984 kB / 447.2 MB, free: 5.762 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1108, allocations: 4 kB / 447.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1108, allocations: 0 / 447.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.111, allocations: 177.6 kB / 447.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.111, allocations: 0 / 447.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.864e-05/0.111, allocations: 8 kB / 447.4 MB, free: 5.527 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1111, allocations: 4 kB / 447.4 MB, free: 5.523 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.1111, allocations: 8.016 kB / 447.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1111, allocations: 0 / 447.4 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1111, allocations: 4 kB / 447.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.1113, allocations: 279.5 kB / 447.7 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.1114, allocations: 97 kB / 447.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.1114, allocations: 0 / 447.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.1115, allocations: 7.984 kB / 447.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1115, allocations: 4 kB / 447.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.1115, allocations: 0 / 447.8 MB, free: 5.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.276e-05/0.1116, allocations: 119.1 kB / 447.9 MB, free: 4.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1116, allocations: 4 kB / 447.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002285/0.1118, allocations: 11.94 kB / 447.9 MB, free: 4.961 MB / 282.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 (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.0003683/0.1122, allocations: 0.8177 MB / 448.7 MB, free: 4.113 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1124, allocations: 55.91 kB / 448.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1124, allocations: 256 / 448.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.1125, allocations: 31.97 kB / 448.8 MB, free: 4.027 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1129, allocations: 29.19 kB / 448.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008723/0.1138, allocations: 0.6246 MB / 449.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.1139, allocations: 0.7005 MB / 450.2 MB, free: 2.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.811e-05/0.114, allocations: 11.97 kB / 450.2 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.403e-05/0.1141, allocations: 31.36 kB / 450.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1141, allocations: 0 / 450.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01162/0.1257, allocations: 1.629 MB / 451.9 MB, free: 0.9258 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000163/0.1259, allocations: 236.9 kB / 452.1 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.595/1.721, allocations: 0 / 452.1 MB, free: 0.6758 MB / 282.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