Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",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.001747/0.001747, allocations: 172.9 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.508/1.508, allocations: 205.4 MB / 222.3 MB, free: 9.016 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.000761/0.0007614, allocations: 90.36 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.07608/0.07608, allocations: 12.59 MB / 331.5 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003763, allocations: 16 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08527/0.08566, allocations: 50.37 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001415/0.08712, allocations: 1.313 MB / 444.5 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007359/0.08787, allocations: 0.5853 MB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.646e-05/0.08796, allocations: 4 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.344e-05/0.088, allocations: 3.938 kB / 445.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.08825, allocations: 27.84 kB / 445.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.08847, allocations: 63.88 kB / 445.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.349e-05/0.08857, allocations: 67.78 kB / 445.2 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.575e-05/0.08866, allocations: 16.22 kB / 445.2 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.08873, allocations: 31.91 kB / 445.3 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.374e-05/0.08879, allocations: 31.8 kB / 445.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.08882, allocations: 0 / 445.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.39e-05/0.08884, allocations: 4 kB / 445.3 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.452e-05/0.08889, allocations: 19.91 kB / 445.3 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.08894, allocations: 65.44 kB / 445.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.81e-05/0.08904, allocations: 67.98 kB / 445.4 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.08905, allocations: 0 / 445.4 MB, free: 13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08905, allocations: 0 / 445.4 MB, free: 13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.08906, allocations: 0 / 445.4 MB, free: 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004185/0.08948, allocations: 403 kB / 445.8 MB, free: 12.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.08953, allocations: 12.03 kB / 445.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.08956, allocations: 34.75 kB / 445.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.702e-05/0.08959, allocations: 12.84 kB / 445.9 MB, free: 12.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.08977, allocations: 208 kB / 446.1 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.0898, allocations: 8.375 kB / 446.1 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.08982, allocations: 8.359 kB / 446.1 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004155/0.09024, allocations: 227.2 kB / 446.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.09026, allocations: 0 / 446.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.09028, allocations: 8 kB / 446.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.09029, allocations: 0 / 446.3 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.09045, allocations: 59.94 kB / 446.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.09073, allocations: 298.4 kB / 446.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.09089, allocations: 99.77 kB / 446.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.091, allocations: 58.73 kB / 446.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.09103, allocations: 4 kB / 446.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.515e-05/0.09106, allocations: 38.56 kB / 446.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.09106, allocations: 0 / 446.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003715/0.09144, allocations: 153.4 kB / 447 MB, free: 11.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.09151, allocations: 114.9 kB / 447.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.681e-05/0.09162, allocations: 141.6 kB / 447.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.09164, allocations: 29.7 kB / 447.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.97e-05/0.09167, allocations: 92.12 kB / 447.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.0917, allocations: 11.81 kB / 447.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.302e-06/0.09171, allocations: 4 kB / 447.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.533e-05/0.09177, allocations: 322.8 kB / 447.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.275e-05/0.09183, allocations: 19.98 kB / 447.8 MB, free: 10.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.09191, allocations: 93.38 kB / 447.8 MB, free: 10.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.09207, allocations: 125.3 kB / 448 MB, free: 10.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.09209, allocations: 4 kB / 448 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001826/0.09227, allocations: 133.4 kB / 448.1 MB, free: 9.984 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.0923, allocations: 8 kB / 448.1 MB, free: 9.977 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.09231, allocations: 4 kB / 448.1 MB, free: 9.973 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.09233, allocations: 4.5 kB / 448.1 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.09244, allocations: 23.98 kB / 448.1 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.09245, allocations: 7.938 kB / 448.2 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.093e-05/0.09252, allocations: 11.94 kB / 448.2 MB, free: 9.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.09254, allocations: 8 kB / 448.2 MB, free: 9.918 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.036e-05/0.09261, allocations: 138.8 kB / 448.3 MB, free: 9.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.09277, allocations: 105.4 kB / 448.4 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.09281, allocations: 12.31 kB / 448.4 MB, free: 9.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.09282, allocations: 3.984 kB / 448.4 MB, free: 9.648 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.09283, allocations: 4 kB / 448.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.09284, allocations: 0 / 448.4 MB, free: 9.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001346/0.09298, allocations: 181.6 kB / 448.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.09299, allocations: 0 / 448.6 MB, free: 9.418 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.0931, allocations: 35.84 kB / 448.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.09311, allocations: 4 kB / 448.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.09312, allocations: 4 kB / 448.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.09313, allocations: 7.984 kB / 448.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.09314, allocations: 0 / 448.7 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002255/0.09337, allocations: 233 kB / 448.9 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.09342, allocations: 93 kB / 449 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.09345, allocations: 8 kB / 449 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.829e-05/0.09354, allocations: 7.984 kB / 449 MB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.992e-05/0.09358, allocations: 7.938 kB / 449 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.09359, allocations: 0 / 449 MB, free: 8.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.66e-05/0.09364, allocations: 115.2 kB / 449.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09365, allocations: 0 / 449.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002348/0.09389, allocations: 12 kB / 449.1 MB, free: 8.859 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005012/0.0944, allocations: 0.8078 MB / 449.9 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.09459, allocations: 91.81 kB / 450 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.0946, allocations: 0 / 450 MB, free: 7.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.564e-05/0.09465, allocations: 11.94 kB / 450 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.09507, allocations: 65.28 kB / 450.1 MB, free: 7.855 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.09642, allocations: 1.726 MB / 451.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.09655, allocations: 0.7043 MB / 452.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.537e-05/0.09659, allocations: 12.55 kB / 452.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.799e-05/0.09665, allocations: 23.44 kB / 452.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.09665, allocations: 0 / 452.6 MB, free: 5.207 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01209/0.1088, allocations: 1.959 MB / 454.5 MB, free: 3.242 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.109, allocations: 242 kB / 454.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.736, allocations: 0 / 454.8 MB, free: 2.984 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat