Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.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.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="FIR1.y|FIR2.y|Time|sample.y|superSampleIpo.y|upSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2") [: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.001489/0.001489, allocations: 193.7 kB / 7.849 MB, free: 2.508 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.327/1.327, allocations: 205.2 MB / 213.4 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.0009157/0.0009157, allocations: 85.52 kB / 261.5 MB, free: 13.61 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.08386/0.08386, allocations: 12.58 MB / 322 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.606e-06, allocations: 4 kB / 378.4 MB, free: 75.64 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.09365, allocations: 50.37 MB / 428.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2718/0.3656, allocations: 78.39 MB / 0.4953 GB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002216/0.3658, allocations: 76.02 kB / 0.4954 GB, free: 11.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.01397/0.3798, allocations: 4.829 MB / 0.5001 GB, free: 11.32 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.3799, allocations: 3.875 kB / 0.5001 GB, free: 11.32 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005308/0.3804, allocations: 462.3 kB / 0.5005 GB, free: 10.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3804, allocations: 12.09 kB / 0.5005 GB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.699e-05/0.3805, allocations: 27.31 kB / 0.5005 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.3808, allocations: 244 kB / 0.5008 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.3808, allocations: 7.844 kB / 0.5008 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.3809, allocations: 11.53 kB / 0.5008 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003067/0.3812, allocations: 175.2 kB / 0.501 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007444/0.3819, allocations: 0.5744 MB / 0.5015 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.382, allocations: 0 / 0.5015 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.382, allocations: 3.969 kB / 0.5015 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.38e-05/0.382, allocations: 12.59 kB / 0.5015 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004168/0.3824, allocations: 334.7 kB / 0.5019 GB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002623/0.3827, allocations: 215.9 kB / 0.5021 GB, free: 10.22 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.3829, allocations: 142.8 kB / 0.5022 GB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.993e-05/0.3829, allocations: 8.281 kB / 0.5022 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.816e-05/0.383, allocations: 39.58 kB / 0.5023 GB, free: 10.15 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.383, allocations: 0 / 0.5023 GB, free: 10.15 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0004592/0.3834, allocations: 278.7 kB / 0.5025 GB, free: 10.1 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.403e-05/0.3835, allocations: 131.7 kB / 0.5026 GB, free: 9.957 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.3836, allocations: 145.4 kB / 0.5028 GB, free: 9.867 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.3837, allocations: 25.7 kB / 0.5028 GB, free: 9.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.3837, allocations: 90.33 kB / 0.5029 GB, free: 9.754 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.3837, allocations: 49.42 kB / 0.5029 GB, free: 9.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.3838, allocations: 3.812 kB / 0.5029 GB, free: 9.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.988e-05/0.3838, allocations: 329.3 kB / 0.5033 GB, free: 9.418 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.3839, allocations: 63.52 kB / 0.5033 GB, free: 9.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001585/0.3841, allocations: 302.7 kB / 0.5036 GB, free: 9.094 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3842, allocations: 121.2 kB / 0.5037 GB, free: 9.074 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3842, allocations: 3.844 kB / 0.5037 GB, free: 9.074 MB / 330.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003945/0.3846, allocations: 333.9 kB / 0.504 GB, free: 8.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3847, allocations: 4.656 kB / 0.504 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3847, allocations: 7.625 kB / 0.5041 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.3847, allocations: 11.72 kB / 0.5041 GB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002582/0.385, allocations: 87.05 kB / 0.5042 GB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.385, allocations: 21.73 kB / 0.5042 GB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.3852, allocations: 24.58 kB / 0.5042 GB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.3852, allocations: 22.66 kB / 0.5042 GB, free: 8.953 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 (FIR1.first,$CLKPRE.FIR1.first,FIR2.first,$CLKPRE.FIR2.first,upSample.b_super,$CLKPRE.upSample.b_super,superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first,upSample.b,$CLKPRE.upSample.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001001/0.3853, allocations: 132 kB / 0.5043 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003707/0.3857, allocations: 265.7 kB / 0.5046 GB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.768e-05/0.3857, allocations: 35.41 kB / 0.5046 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.309e-06/0.3858, allocations: 3.844 kB / 0.5046 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3858, allocations: 0 / 0.5046 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.627e-06/0.3858, allocations: 10.25 kB / 0.5046 GB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.386, allocations: 201.2 kB / 0.5048 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.386, allocations: 3.812 kB / 0.5048 GB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002775/0.3863, allocations: 67.67 kB / 0.5049 GB, free: 8.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3863, allocations: 7.844 kB / 0.5049 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.3863, allocations: 1.734 kB / 0.5049 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3863, allocations: 4.656 kB / 0.5049 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3863, allocations: 0 / 0.5049 GB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004463/0.3868, allocations: 428.5 kB / 0.5053 GB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3869, allocations: 134.4 kB / 0.5055 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.58e-05/0.387, allocations: 13.58 kB / 0.5055 GB, free: 8.273 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.3871, allocations: 10.28 kB / 0.5055 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.3872, allocations: 12.31 kB / 0.5055 GB, free: 8.262 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.3872, allocations: 13.48 kB / 0.5055 GB, free: 8.262 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.457e-05/0.3873, allocations: 116 kB / 0.5056 GB, free: 8.188 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.3877, allocations: 38.09 kB / 0.5056 GB, free: 8.188 MB / 330.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: 7 (superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b_super,FIR2.first,FIR1.first,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001069/0.3878, allocations: 95.47 kB / 0.5057 GB, free: 8.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003164/0.3881, allocations: 251.5 kB / 0.506 GB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3881, allocations: 0 / 0.506 GB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.3881, allocations: 4.312 kB / 0.506 GB, free: 8.066 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.3887, allocations: 192.7 kB / 0.5062 GB, free: 8.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008561/0.3895, allocations: 374 kB / 0.5065 GB, free: 7.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000275/0.3898, allocations: 0.8184 MB / 0.5073 GB, free: 7.09 MB / 330.7 MB Notification: Performance of SimCode: time 2.7e-07/0.3898, allocations: 3.844 kB / 0.5073 GB, free: 7.09 MB / 330.7 MB Notification: Performance of Templates: time 0.004898/0.3947, allocations: 2.363 MB / 0.5096 GB, free: 5.977 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches