Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.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: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 172.3 kB / 16.8 MB, free: 5.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 1.452/1.452, allocations: 205.4 MB / 223 MB, free: 9.023 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.0007545/0.0007545, allocations: 88.75 kB / 271.3 MB, free: 8.262 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.07122/0.07122, allocations: 12.6 MB / 332.2 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003846/0.0003846, allocations: 12 kB / 393.2 MB, free: 65.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07073/0.07113, allocations: 50.37 MB / 443.6 MB, free: 15.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2537/0.3248, allocations: 78.37 MB / 0.5097 GB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/0.325, allocations: 73.58 kB / 0.5098 GB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004504/0.3296, allocations: 1.994 MB / 0.5117 GB, free: 12.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3296, allocations: 0 / 0.5117 GB, free: 12.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.3296, allocations: 3.875 kB / 0.5118 GB, free: 12.61 MB / 330.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.0002872/0.3299, allocations: 373.8 kB / 0.5121 GB, free: 12.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.3299, allocations: 7.688 kB / 0.5121 GB, free: 12.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.33, allocations: 16.69 kB / 0.5121 GB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.3301, allocations: 195 kB / 0.5123 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3301, allocations: 4.312 kB / 0.5123 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.3301, allocations: 4.219 kB / 0.5123 GB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.3304, allocations: 108.3 kB / 0.5124 GB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.3304, allocations: 8.125 kB / 0.5124 GB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.3304, allocations: 3.938 kB / 0.5124 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3304, allocations: 0 / 0.5124 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.3305, allocations: 22.36 kB / 0.5125 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.3308, allocations: 262.8 kB / 0.5127 GB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.417e-05/0.3308, allocations: 55.61 kB / 0.5128 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.85e-05/0.3309, allocations: 20.47 kB / 0.5128 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3309, allocations: 3.75 kB / 0.5128 GB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.513e-05/0.3309, allocations: 38.55 kB / 0.5128 GB, free: 11.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.3309, allocations: 0 / 0.5128 GB, free: 11.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.000196/0.3311, allocations: 71.47 kB / 0.5129 GB, free: 11.44 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.3312, allocations: 89 kB / 0.513 GB, free: 11.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.007e-05/0.3313, allocations: 138.7 kB / 0.5131 GB, free: 11.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.494e-06/0.3313, allocations: 25.7 kB / 0.5131 GB, free: 11.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.3313, allocations: 93.64 kB / 0.5132 GB, free: 11.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.3313, allocations: 7.922 kB / 0.5132 GB, free: 11.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.234e-06/0.3314, allocations: 0 / 0.5132 GB, free: 11.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.334e-05/0.3314, allocations: 314 kB / 0.5135 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.569e-05/0.3315, allocations: 7.844 kB / 0.5135 GB, free: 10.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.291e-05/0.3315, allocations: 30.05 kB / 0.5136 GB, free: 10.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.752e-05/0.3316, allocations: 32.08 kB / 0.5136 GB, free: 10.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3316, allocations: 0 / 0.5136 GB, free: 10.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.796e-05/0.3317, allocations: 67.97 kB / 0.5137 GB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3317, allocations: 3.844 kB / 0.5137 GB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3317, allocations: 3.844 kB / 0.5137 GB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3317, allocations: 0 / 0.5137 GB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.793e-05/0.3318, allocations: 7.828 kB / 0.5137 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3318, allocations: 0 / 0.5137 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.3319, allocations: 3.938 kB / 0.5137 GB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.3319, allocations: 0 / 0.5137 GB, free: 10.69 MB / 330.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.3319, allocations: 132.5 kB / 0.5138 GB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.11e-05/0.332, allocations: 40.7 kB / 0.5138 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.74e-05/0.332, allocations: 10.97 kB / 0.5139 GB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3321, allocations: 3.984 kB / 0.5139 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.3321, allocations: 3.812 kB / 0.5139 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3321, allocations: 0 / 0.5139 GB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.3322, allocations: 168.8 kB / 0.514 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3322, allocations: 0 / 0.514 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.989e-05/0.3323, allocations: 7.719 kB / 0.514 GB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3323, allocations: 7.969 kB / 0.514 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3323, allocations: 0 / 0.514 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3323, allocations: 0 / 0.514 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3323, allocations: 7.969 kB / 0.514 GB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000139/0.3324, allocations: 169.4 kB / 0.5142 GB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-05/0.3325, allocations: 95.77 kB / 0.5143 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.3325, allocations: 0 / 0.5143 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.3326, allocations: 3.844 kB / 0.5143 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.74e-05/0.3326, allocations: 0 / 0.5143 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-06/0.3326, allocations: 3.984 kB / 0.5143 GB, free: 10.04 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.352e-05/0.3327, allocations: 104 kB / 0.5144 GB, free: 9.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.3327, allocations: 3.75 kB / 0.5144 GB, free: 9.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002138/0.3329, allocations: 11.78 kB / 0.5144 GB, free: 9.949 MB / 330.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 (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 7.492e-05/0.333, allocations: 94.19 kB / 0.5145 GB, free: 9.859 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.3331, allocations: 26.61 kB / 0.5145 GB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3331, allocations: 3.844 kB / 0.5145 GB, free: 9.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.3332, allocations: 7.828 kB / 0.5146 GB, free: 9.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3335, allocations: 23.98 kB / 0.5146 GB, free: 9.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.3338, allocations: 181.5 kB / 0.5147 GB, free: 9.672 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001396/0.334, allocations: 0.6934 MB / 0.5154 GB, free: 8.965 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.865e-05/0.334, allocations: 4 kB / 0.5154 GB, free: 8.961 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.232e-05/0.334, allocations: 11.31 kB / 0.5154 GB, free: 8.957 MB / 330.7 MB Notification: Performance of SimCode: time 3.11e-07/0.334, allocations: 0 / 0.5154 GB, free: 8.957 MB / 330.7 MB Notification: Performance of Templates: time 0.00214/0.3362, allocations: 477.5 kB / 0.5159 GB, free: 8.73 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches