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.001639/0.001639, allocations: 190.5 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.26/2.26, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001177/0.001177, allocations: 98.8 kB / 270.3 MB, free: 13.34 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.09955/0.09955, allocations: 12.59 MB / 331.1 MB, free: 10.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005435/0.0005436, allocations: 15.14 kB / 392.1 MB, free: 54.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09632/0.0969, allocations: 50.38 MB / 442.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002013/0.09898, allocations: 1.295 MB / 443.8 MB, free: 9.469 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009629/0.09999, allocations: 0.4892 MB / 444.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.1001, allocations: 0 / 444.3 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.73e-05/0.1002, allocations: 7.922 kB / 444.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.892e-05/0.1003, allocations: 11.98 kB / 444.3 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002911/0.1006, allocations: 43.88 kB / 444.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1008, allocations: 43.88 kB / 444.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1009, allocations: 19.98 kB / 444.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.187e-05/0.101, allocations: 27.8 kB / 444.4 MB, free: 8.82 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.951e-05/0.1011, allocations: 23.91 kB / 444.4 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1011, allocations: 3.938 kB / 444.4 MB, free: 8.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.1011, allocations: 4 kB / 444.4 MB, free: 8.789 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.892e-05/0.1012, allocations: 7.984 kB / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.1012, allocations: 37.64 kB / 444.5 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.776e-05/0.1013, allocations: 50.73 kB / 444.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1013, allocations: 0 / 444.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1013, allocations: 0 / 444.5 MB, free: 8.691 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1013, allocations: 0 / 444.5 MB, free: 8.691 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.0005161/0.1019, allocations: 383.8 kB / 444.9 MB, free: 8.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.1019, allocations: 8.031 kB / 444.9 MB, free: 8.262 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.813e-05/0.102, allocations: 34.5 kB / 445 MB, free: 8.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.455e-05/0.102, allocations: 15.81 kB / 445 MB, free: 8.203 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.1022, allocations: 194.8 kB / 445.2 MB, free: 7.973 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1023, allocations: 4 kB / 445.2 MB, free: 7.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.1023, allocations: 4 kB / 445.2 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.1027, allocations: 133.9 kB / 445.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1027, allocations: 3.938 kB / 445.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1027, allocations: 0 / 445.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.1028, allocations: 4 kB / 445.3 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.103, allocations: 47.91 kB / 445.4 MB, free: 7.758 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.1035, allocations: 381.9 kB / 445.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1037, allocations: 87.78 kB / 445.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1038, allocations: 64 / 445.8 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.1038, allocations: 38.5 kB / 445.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.644e-06/0.1038, allocations: 0 / 445.9 MB, free: 7.168 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0005668/0.1044, allocations: 210.7 kB / 446.1 MB, free: 6.938 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.1044, allocations: 102.8 kB / 446.2 MB, free: 6.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000142/0.1046, allocations: 154.4 kB / 446.3 MB, free: 6.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1046, allocations: 33.7 kB / 446.3 MB, free: 6.609 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.1047, allocations: 92.05 kB / 446.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.1047, allocations: 11.89 kB / 446.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.1047, allocations: 4 kB / 446.4 MB, free: 6.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.644e-05/0.1048, allocations: 318.8 kB / 446.8 MB, free: 6.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/0.1049, allocations: 27.92 kB / 446.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001232/0.1051, allocations: 55.34 kB / 446.8 MB, free: 6.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1052, allocations: 23.98 kB / 446.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1052, allocations: 0 / 446.9 MB, free: 6.062 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003096/0.1055, allocations: 93.59 kB / 447 MB, free: 5.965 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1056, allocations: 8 kB / 447 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1056, allocations: 0 / 447 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.1056, allocations: 0 / 447 MB, free: 5.957 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.1058, allocations: 24.05 kB / 447 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1058, allocations: 0 / 447 MB, free: 5.934 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.86e-05/0.1059, allocations: 11.91 kB / 447 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.278e-05/0.1059, allocations: 0 / 447 MB, free: 5.922 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 9.761e-05/0.106, allocations: 133.6 kB / 447.1 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.1062, allocations: 49.59 kB / 447.2 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.617e-05/0.1062, allocations: 15.83 kB / 447.2 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.1063, allocations: 4.031 kB / 447.2 MB, free: 5.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.1063, allocations: 4 kB / 447.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1063, allocations: 0 / 447.2 MB, free: 5.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.1066, allocations: 189.5 kB / 447.4 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.1066, allocations: 7.938 kB / 447.4 MB, free: 5.461 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.977e-05/0.1067, allocations: 11.92 kB / 447.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1067, allocations: 8 kB / 447.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1067, allocations: 0 / 447.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.1068, allocations: 0 / 447.4 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.1068, allocations: 4 kB / 447.4 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.1071, allocations: 307 kB / 447.7 MB, free: 5.105 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.1072, allocations: 97 kB / 447.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.1073, allocations: 0 / 447.8 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1074, allocations: 4 kB / 447.8 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.288e-05/0.1075, allocations: 11.92 kB / 447.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.1075, allocations: 0 / 447.8 MB, free: 4.977 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.1076, allocations: 123.1 kB / 447.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1076, allocations: 0 / 447.9 MB, free: 4.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003965/0.108, allocations: 8 kB / 448 MB, free: 4.848 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.0005726/0.1086, allocations: 0.9628 MB / 448.9 MB, free: 3.848 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003044/0.109, allocations: 59.91 kB / 449 MB, free: 3.789 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.109, allocations: 4.25 kB / 449 MB, free: 3.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1091, allocations: 19.92 kB / 449 MB, free: 3.766 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.1096, allocations: 41.08 kB / 449 MB, free: 3.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/0.111, allocations: 1.058 MB / 450.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.1112, allocations: 0.7043 MB / 450.8 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.686e-05/0.1113, allocations: 15.97 kB / 450.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.1114, allocations: 19.48 kB / 450.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1114, allocations: 0 / 450.8 MB, free: 1.836 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02077/0.1322, allocations: 1.622 MB / 452.5 MB, free: 228 kB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/0.1326, allocations: 218.2 kB / 452.7 MB, free: 15.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.641/2.773, allocations: 4.062 kB / 452.7 MB, free: 15.98 MB / 298.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