Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample",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.001073/0.001073, allocations: 171.6 kB / 16.15 MB, free: 5.652 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.456/1.456, allocations: 205.4 MB / 222.3 MB, free: 9.02 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.0007358/0.0007359, allocations: 85.19 kB / 270.7 MB, free: 8.238 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.07582/0.07582, allocations: 12.59 MB / 331.5 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003779, allocations: 16 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09875/0.09915, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.001617/0.1008, allocations: 1.254 MB / 444.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007814/0.1016, allocations: 0.5191 MB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.681e-05/0.1018, allocations: 0 / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/0.1018, allocations: 11.92 kB / 444.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.102, allocations: 7.938 kB / 444.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003106/0.1023, allocations: 47.89 kB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 9.024e-05/0.1024, allocations: 39.86 kB / 445 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.1025, allocations: 8 kB / 445 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.839e-05/0.1026, allocations: 27.84 kB / 445.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.847e-05/0.1026, allocations: 19.86 kB / 445.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.057e-05/0.1027, allocations: 4 kB / 445.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.1027, allocations: 0 / 445.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.391e-05/0.1028, allocations: 15.94 kB / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.1028, allocations: 53.48 kB / 445.2 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.894e-05/0.1029, allocations: 40.11 kB / 445.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1029, allocations: 0 / 445.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1029, allocations: 0 / 445.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1029, allocations: 0 / 445.2 MB, free: 13.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003975/0.1033, allocations: 375.2 kB / 445.6 MB, free: 12.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1034, allocations: 8.031 kB / 445.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.043e-05/0.1034, allocations: 34.73 kB / 445.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.1034, allocations: 12.78 kB / 445.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.1036, allocations: 211.9 kB / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.1036, allocations: 384 / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1037, allocations: 4.375 kB / 445.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.1039, allocations: 113.2 kB / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.104, allocations: 0 / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.104, allocations: 0 / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.104, allocations: 0 / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.054e-05/0.1041, allocations: 19.98 kB / 446 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.1044, allocations: 265.7 kB / 446.2 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.404e-05/0.1045, allocations: 49.2 kB / 446.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.1045, allocations: 21.78 kB / 446.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1046, allocations: 7.938 kB / 446.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.1046, allocations: 34.55 kB / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1046, allocations: 0 / 446.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002307/0.1048, allocations: 69.53 kB / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1049, allocations: 89.34 kB / 446.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.105, allocations: 138.2 kB / 446.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.105, allocations: 25.7 kB / 446.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.586e-05/0.1051, allocations: 84.14 kB / 446.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.1051, allocations: 0 / 446.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-06/0.1051, allocations: 4 kB / 446.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/0.1052, allocations: 322.8 kB / 447 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.868e-05/0.1052, allocations: 12 kB / 447.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/0.1052, allocations: 25.7 kB / 447.1 MB, free: 11.1 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.138e-05/0.1053, allocations: 29.64 kB / 447.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1053, allocations: 0 / 447.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001079/0.1054, allocations: 61.66 kB / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1055, allocations: 8 kB / 447.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1055, allocations: 3.938 kB / 447.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1055, allocations: 0 / 447.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.478e-05/0.1056, allocations: 7.984 kB / 447.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1056, allocations: 4 kB / 447.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.1056, allocations: 4 kB / 447.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.1056, allocations: 8 kB / 447.2 MB, free: 10.96 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.786e-05/0.1057, allocations: 121.8 kB / 447.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.972e-05/0.1058, allocations: 41.61 kB / 447.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.1059, allocations: 7.828 kB / 447.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1059, allocations: 0 / 447.4 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/0.1059, allocations: 8 kB / 447.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1059, allocations: 7.969 kB / 447.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.1061, allocations: 169.6 kB / 447.5 MB, free: 10.55 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1061, allocations: 7.969 kB / 447.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.196e-05/0.1061, allocations: 11.94 kB / 447.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1061, allocations: 0 / 447.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.1061, allocations: 0 / 447.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1062, allocations: 0 / 447.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.1062, allocations: 4 kB / 447.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1063, allocations: 168.2 kB / 447.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.1064, allocations: 89 kB / 447.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.1064, allocations: 4 kB / 447.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.1065, allocations: 4 kB / 447.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.981e-05/0.1066, allocations: 4 kB / 447.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1066, allocations: 0 / 447.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.301e-05/0.1067, allocations: 107.2 kB / 447.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1067, allocations: 32 / 447.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002213/0.1069, allocations: 8 kB / 447.9 MB, free: 10.11 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004168/0.1073, allocations: 0.6936 MB / 448.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001289/0.1075, allocations: 31.92 kB / 448.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.1075, allocations: 0 / 448.7 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.91e-05/0.1075, allocations: 11.98 kB / 448.7 MB, free: 9.344 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1079, allocations: 16.03 kB / 448.7 MB, free: 9.328 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.1092, allocations: 1.349 MB / 450 MB, free: 7.887 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001934/0.1094, allocations: 0.6848 MB / 450.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.745e-05/0.1094, allocations: 7.891 kB / 450.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.79e-05/0.1095, allocations: 11.44 kB / 450.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1095, allocations: 4 kB / 450.8 MB, free: 7.152 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01049/0.12, allocations: 1.308 MB / 452.1 MB, free: 5.84 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/0.1202, allocations: 236.2 kB / 452.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.653/1.773, allocations: 0 / 452.3 MB, free: 5.574 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat