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.002243/0.002243, allocations: 172.7 kB / 16.14 MB, free: 5.648 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.467/1.467, allocations: 205.4 MB / 222.3 MB, free: 9.008 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.000774/0.000774, allocations: 90.67 kB / 270.6 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08792/0.08792, allocations: 12.59 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.0003762, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09562, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.001604/0.09727, allocations: 1.313 MB / 444.5 MB, free: 13.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006537/0.09794, allocations: 0.5036 MB / 445 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.09802, allocations: 7.875 kB / 445 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.878e-05/0.09812, allocations: 15.92 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 9.776e-05/0.09823, allocations: 7.922 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.09846, allocations: 43.89 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.204e-05/0.09856, allocations: 51.8 kB / 445.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.09867, allocations: 19.98 kB / 445.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.09875, allocations: 27.86 kB / 445.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.666e-05/0.09881, allocations: 23.84 kB / 445.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.09884, allocations: 0 / 445.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.511e-05/0.09886, allocations: 4 kB / 445.2 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.09892, allocations: 15.92 kB / 445.2 MB, free: 13.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.238e-05/0.09897, allocations: 57.52 kB / 445.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.09908, allocations: 63.94 kB / 445.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.0991, allocations: 3.938 kB / 445.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.09911, allocations: 0 / 445.3 MB, free: 13.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.09911, allocations: 0 / 445.3 MB, free: 13.13 MB / 298.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.0004186/0.09954, allocations: 387.1 kB / 445.7 MB, free: 12.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.09958, allocations: 8.031 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.011e-05/0.09962, allocations: 34.75 kB / 445.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.803e-05/0.09965, allocations: 12.84 kB / 445.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001514/0.09981, allocations: 204 kB / 445.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.736e-06/0.09983, allocations: 384 / 445.9 MB, free: 12.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.09984, allocations: 4.375 kB / 445.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.1001, allocations: 142 kB / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1002, allocations: 0 / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1002, allocations: 4 kB / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.1002, allocations: 0 / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.1004, allocations: 51.91 kB / 446.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004286/0.1008, allocations: 381.8 kB / 446.5 MB, free: 11.76 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1009, allocations: 91.78 kB / 446.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.282e-05/0.101, allocations: 38.62 kB / 446.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.101, allocations: 4 kB / 446.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.1011, allocations: 42.48 kB / 446.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.1011, allocations: 0 / 446.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003491/0.1014, allocations: 129.7 kB / 446.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.1015, allocations: 106.8 kB / 446.9 MB, free: 11.28 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.633e-05/0.1016, allocations: 158.1 kB / 447.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.016e-06/0.1016, allocations: 25.7 kB / 447.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.1016, allocations: 96.12 kB / 447.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.1017, allocations: 11.83 kB / 447.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1017, allocations: 0 / 447.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.572e-05/0.1017, allocations: 322.8 kB / 447.5 MB, free: 10.65 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.193e-05/0.1018, allocations: 27.92 kB / 447.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.319e-05/0.1019, allocations: 47.41 kB / 447.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001246/0.102, allocations: 75.34 kB / 447.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.102, allocations: 0 / 447.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001618/0.1022, allocations: 97.5 kB / 447.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.1022, allocations: 4 kB / 447.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1022, allocations: 4 kB / 447.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.1022, allocations: 0 / 447.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.1023, allocations: 15.98 kB / 447.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.1023, allocations: 8.062 kB / 447.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.1024, allocations: 11.94 kB / 447.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.1024, allocations: 0 / 447.8 MB, free: 10.33 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.171e-05/0.1025, allocations: 125.8 kB / 447.9 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/0.1026, allocations: 53.59 kB / 448 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.416e-05/0.1026, allocations: 15.83 kB / 448 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.1026, allocations: 0 / 448 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.1026, allocations: 8.031 kB / 448 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1026, allocations: 0 / 448 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.1028, allocations: 177.6 kB / 448.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1028, allocations: 0 / 448.2 MB, free: 9.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.733e-05/0.1029, allocations: 11.98 kB / 448.2 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1029, allocations: 4 kB / 448.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.1029, allocations: 0 / 448.2 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1029, allocations: 3.938 kB / 448.2 MB, free: 9.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1029, allocations: 4 kB / 448.2 MB, free: 9.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.1031, allocations: 279.5 kB / 448.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1032, allocations: 100.9 kB / 448.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.1032, allocations: 0 / 448.6 MB, free: 9.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1033, allocations: 8 kB / 448.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.1033, allocations: 7.984 kB / 448.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1034, allocations: 4 kB / 448.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.1034, allocations: 119.1 kB / 448.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1034, allocations: 0 / 448.7 MB, free: 9.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002318/0.1037, allocations: 8 kB / 448.7 MB, free: 9.316 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004294/0.1041, allocations: 0.8102 MB / 449.5 MB, free: 8.477 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1043, allocations: 59.95 kB / 449.6 MB, free: 8.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1043, allocations: 3.938 kB / 449.6 MB, free: 8.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.1044, allocations: 23.98 kB / 449.6 MB, free: 8.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004833/0.1049, allocations: 33.73 kB / 449.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.1064, allocations: 1.615 MB / 451.2 MB, free: 6.629 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000215/0.1066, allocations: 0.6965 MB / 451.9 MB, free: 5.906 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.698e-05/0.1067, allocations: 15.97 kB / 452 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.1067, allocations: 19.44 kB / 452 MB, free: 5.875 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1067, allocations: 0 / 452 MB, free: 5.875 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0105/0.1172, allocations: 1.627 MB / 453.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001732/0.1175, allocations: 249.9 kB / 453.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.736, allocations: 0 / 453.8 MB, free: 3.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