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: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009814/0.0009814, allocations: 176.7 kB / 8.051 MB, free: 1.023 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.534/1.534, allocations: 205.3 MB / 213.8 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008926/0.0008928, allocations: 82.22 kB / 261.8 MB, free: 1.688 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.07789/0.07789, allocations: 12.6 MB / 322.3 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.638e-05/1.651e-05, allocations: 0 / 378.9 MB, free: 6.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2553, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1075/0.3629, allocations: 77.6 MB / 0.495 GB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.3632, allocations: 75.95 kB / 0.4951 GB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005533/0.3687, allocations: 1.962 MB / 0.497 GB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3688, allocations: 4 kB / 0.497 GB, free: 2.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.3688, allocations: 4 kB / 0.497 GB, free: 2.598 MB / 346.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.0004009/0.3692, allocations: 350.4 kB / 0.4974 GB, free: 2.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.3692, allocations: 8.031 kB / 0.4974 GB, free: 2.203 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.3693, allocations: 7.906 kB / 0.4974 GB, free: 2.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.3696, allocations: 195.3 kB / 0.4976 GB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.3696, allocations: 4 kB / 0.4976 GB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3696, allocations: 0 / 0.4976 GB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.3697, allocations: 24 kB / 0.4976 GB, free: 1.938 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.37, allocations: 89.05 kB / 0.4977 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.37, allocations: 0 / 0.4977 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.37, allocations: 0 / 0.4977 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.37, allocations: 0 / 0.4977 GB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/0.3704, allocations: 254.2 kB / 0.4979 GB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.782e-05/0.3705, allocations: 41.09 kB / 0.4979 GB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.967e-05/0.3705, allocations: 17.83 kB / 0.498 GB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.3706, allocations: 0 / 0.498 GB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.3706, allocations: 34.56 kB / 0.498 GB, free: 1.418 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.3706, allocations: 0 / 0.498 GB, free: 1.418 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000158/0.3708, allocations: 49.62 kB / 0.498 GB, free: 1.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.3708, allocations: 77.11 kB / 0.4981 GB, free: 1.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.371, allocations: 124.2 kB / 0.4982 GB, free: 1.141 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.371, allocations: 29.7 kB / 0.4983 GB, free: 1.105 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.3711, allocations: 96.09 kB / 0.4984 GB, free: 1.008 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.3711, allocations: 0 / 0.4984 GB, free: 1.008 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-06/0.3711, allocations: 0 / 0.4984 GB, free: 1.008 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3712, allocations: 322.8 kB / 0.4987 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.3712, allocations: 0 / 0.4987 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.927e-05/0.3713, allocations: 17.72 kB / 0.4987 GB, free: 0.6602 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/0.3713, allocations: 7.984 kB / 0.4987 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.3713, allocations: 8 kB / 0.4987 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.422e-05/0.3714, allocations: 45.55 kB / 0.4987 GB, free: 0.5938 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3714, allocations: 11.94 kB / 0.4988 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3714, allocations: 0 / 0.4988 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3714, allocations: 0 / 0.4988 GB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.644e-05/0.3715, allocations: 7.984 kB / 0.4988 GB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.3715, allocations: 4 kB / 0.4988 GB, free: 0.5703 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.842e-05/0.3716, allocations: 9.219 kB / 0.4988 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.3716, allocations: 8.062 kB / 0.4988 GB, free: 0.5547 MB / 346.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 () * 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.901e-05/0.3717, allocations: 104.9 kB / 0.4989 GB, free: 456 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.3717, allocations: 41.62 kB / 0.4989 GB, free: 408 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.3718, allocations: 7.969 kB / 0.4989 GB, free: 400 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3718, allocations: 4 kB / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3718, allocations: 0 / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3718, allocations: 0 / 0.4989 GB, free: 396 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.3719, allocations: 146.1 kB / 0.4991 GB, free: 212 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3719, allocations: 3.953 kB / 0.4991 GB, free: 208 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.283e-05/0.372, allocations: 12.03 kB / 0.4991 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.372, allocations: 0 / 0.4991 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.372, allocations: 3.984 kB / 0.4991 GB, free: 192 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.372, allocations: 0 / 0.4991 GB, free: 192 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.372, allocations: 3.984 kB / 0.4991 GB, free: 188 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.3722, allocations: 162.1 kB / 0.4992 GB, free: 0 / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.202e-05/0.3723, allocations: 89 kB / 0.4993 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.3723, allocations: 7.922 kB / 0.4993 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.682e-05/0.3723, allocations: 4 kB / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.3724, allocations: 4 kB / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.3724, allocations: 0 / 0.4993 GB, free: 15.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.445e-05/0.3725, allocations: 104 kB / 0.4994 GB, free: 15.78 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3725, allocations: 0 / 0.4994 GB, free: 15.78 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002057/0.3727, allocations: 4 kB / 0.4994 GB, free: 15.77 MB / 362.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 () * 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 0.0001011/0.3728, allocations: 95.28 kB / 0.4995 GB, free: 15.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.404e-05/0.3729, allocations: 11.98 kB / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3729, allocations: 0 / 0.4996 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.698e-05/0.3729, allocations: 8 kB / 0.4996 GB, free: 15.65 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.3732, allocations: 27.23 kB / 0.4996 GB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000263/0.3735, allocations: 84.91 kB / 0.4997 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.3738, allocations: 0.6965 MB / 0.5003 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.951e-05/0.3739, allocations: 7.984 kB / 0.5004 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.3739, allocations: 11.38 kB / 0.5004 GB, free: 14.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3739, allocations: 0 / 0.5004 GB, free: 14.77 MB / 362.7 MB Notification: Performance of Templates: time 0.00225/0.3761, allocations: 440 kB / 0.5008 GB, free: 14.34 MB / 362.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches