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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001162/0.001162, allocations: 184.5 kB / 7.844 MB, free: 2.477 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.286/1.286, allocations: 205.2 MB / 213.5 MB, free: 13.86 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.0009015/0.0009017, allocations: 100.1 kB / 261.5 MB, free: 13.55 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.06174/0.06174, allocations: 12.59 MB / 322 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.982e-06/6.022e-06, allocations: 0 / 378.4 MB, free: 75.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07481/0.07483, allocations: 50.37 MB / 428.8 MB, free: 25.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2115/0.2864, allocations: 77.51 MB / 0.4944 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002052/0.2866, allocations: 73.09 kB / 0.4945 GB, free: 12.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.004928/0.2916, allocations: 1.657 MB / 0.4961 GB, free: 11.92 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.2916, allocations: 4 kB / 0.4961 GB, free: 11.91 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.0002564/0.2919, allocations: 350.6 kB / 0.4964 GB, free: 11.56 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.2919, allocations: 7.625 kB / 0.4964 GB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.292, allocations: 12.42 kB / 0.4964 GB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2921, allocations: 195.5 kB / 0.4966 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.2921, allocations: 4.688 kB / 0.4966 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.166e-05/0.2922, allocations: 3.75 kB / 0.4966 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.411e-05/0.2922, allocations: 16.08 kB / 0.4967 GB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001736/0.2924, allocations: 94 kB / 0.4967 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.2924, allocations: 0 / 0.4967 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2924, allocations: 0 / 0.4967 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2925, allocations: 0.5156 kB / 0.4967 GB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.2927, allocations: 251.7 kB / 0.497 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.81e-05/0.2928, allocations: 41.59 kB / 0.497 GB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.2928, allocations: 13.16 kB / 0.497 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2928, allocations: 4.5 kB / 0.497 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.2928, allocations: 30.56 kB / 0.4971 GB, free: 10.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2929, allocations: 4 kB / 0.4971 GB, free: 10.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001328/0.293, allocations: 50.8 kB / 0.4971 GB, free: 10.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/0.293, allocations: 78 kB / 0.4972 GB, free: 10.78 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.821e-05/0.2931, allocations: 126.7 kB / 0.4973 GB, free: 10.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.003e-06/0.2931, allocations: 25.7 kB / 0.4973 GB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.769e-05/0.2931, allocations: 85.5 kB / 0.4974 GB, free: 10.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.145e-05/0.2932, allocations: 5.266 kB / 0.4974 GB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-06/0.2932, allocations: 4.062 kB / 0.4974 GB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.768e-05/0.2932, allocations: 316.3 kB / 0.4977 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.081e-05/0.2932, allocations: 0 / 0.4977 GB, free: 10.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.371e-05/0.2932, allocations: 16.97 kB / 0.4978 GB, free: 10.24 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.584e-05/0.2933, allocations: 6.422 kB / 0.4978 GB, free: 10.24 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2933, allocations: 0 / 0.4978 GB, free: 10.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.114e-05/0.2933, allocations: 58.14 kB / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.817e-06/0.2934, allocations: 3.812 kB / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2934, allocations: 1.406 kB / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.238e-06/0.2934, allocations: 0 / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.723e-05/0.2935, allocations: 8.984 kB / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.2935, allocations: 0 / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.2935, allocations: 9.312 kB / 0.4978 GB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.2935, allocations: 3.906 kB / 0.4978 GB, free: 10.18 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 () * 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 4.039e-05/0.2936, allocations: 105 kB / 0.4979 GB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.2936, allocations: 46.73 kB / 0.498 GB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.98e-05/0.2937, allocations: 8.703 kB / 0.498 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.2937, allocations: 0 / 0.498 GB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2937, allocations: 4 kB / 0.498 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.2937, allocations: 0.9844 kB / 0.498 GB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2938, allocations: 156.2 kB / 0.4981 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2938, allocations: 0 / 0.4981 GB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.811e-05/0.2939, allocations: 9.234 kB / 0.4982 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2939, allocations: 7.875 kB / 0.4982 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2939, allocations: 1.359 kB / 0.4982 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.2939, allocations: 0 / 0.4982 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2939, allocations: 0 / 0.4982 GB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.7e-05/0.294, allocations: 158.9 kB / 0.4983 GB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.603e-05/0.294, allocations: 96.72 kB / 0.4984 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.2941, allocations: 0 / 0.4984 GB, free: 9.594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.464e-05/0.2941, allocations: 9.203 kB / 0.4984 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.201e-05/0.2942, allocations: 5.484 kB / 0.4984 GB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.226e-06/0.2942, allocations: 0 / 0.4984 GB, free: 9.586 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.07e-05/0.2942, allocations: 105 kB / 0.4985 GB, free: 9.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000211/0.2944, allocations: 3.875 kB / 0.4985 GB, free: 9.512 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 () * 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 5.753e-05/0.2945, allocations: 95.19 kB / 0.4986 GB, free: 9.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 5.891e-05/0.2946, allocations: 16.25 kB / 0.4986 GB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2946, allocations: 0 / 0.4986 GB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.173e-05/0.2946, allocations: 3.75 kB / 0.4986 GB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002146/0.2948, allocations: 12.77 kB / 0.4986 GB, free: 9.418 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001997/0.295, allocations: 98.22 kB / 0.4987 GB, free: 9.324 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001254/0.2952, allocations: 0.706 MB / 0.4994 GB, free: 8.617 MB / 330.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2952, allocations: 4 kB / 0.4994 GB, free: 8.613 MB / 330.7 MB Notification: Performance of Templates: time 0.001976/0.2971, allocations: 493.5 kB / 0.4999 GB, free: 8.562 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/jenkins/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