Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.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.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|add.y|sample.y|upSample1.y|upSample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1") [: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.001078/0.001079, allocations: 184.2 kB / 7.841 MB, free: 2.453 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.227/1.227, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0009789/0.0009791, allocations: 92.86 kB / 261.5 MB, free: 13.52 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.08344/0.08344, allocations: 12.6 MB / 322 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.485e-06, allocations: 4 kB / 378.4 MB, free: 75.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.09857, allocations: 50.37 MB / 428.8 MB, free: 25.24 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2976/0.3962, allocations: 77.93 MB / 0.4948 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.3965, allocations: 75.95 kB / 0.4949 GB, free: 11.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.0106/0.4071, allocations: 3.774 MB / 0.4986 GB, free: 11.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.4072, allocations: 7.938 kB / 0.4986 GB, free: 11.43 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00042/0.4076, allocations: 402.2 kB / 0.499 GB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/0.4077, allocations: 7.719 kB / 0.499 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.369e-05/0.4077, allocations: 18.66 kB / 0.499 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.4079, allocations: 201.2 kB / 0.4992 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.408, allocations: 7.906 kB / 0.4992 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.408, allocations: 7.719 kB / 0.4992 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001422/0.4081, allocations: 52.38 kB / 0.4992 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003645/0.4085, allocations: 234.6 kB / 0.4995 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4085, allocations: 4 kB / 0.4995 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.4086, allocations: 3.812 kB / 0.4995 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.4086, allocations: 0 / 0.4995 GB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.4089, allocations: 281.3 kB / 0.4997 GB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.4091, allocations: 122.1 kB / 0.4999 GB, free: 10.4 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.667e-05/0.4092, allocations: 60.56 kB / 0.4999 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.4092, allocations: 9.172 kB / 0.4999 GB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.844e-05/0.4092, allocations: 42.28 kB / 0.5 GB, free: 10.33 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.172e-06/0.4092, allocations: 0 / 0.5 GB, free: 10.33 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002468/0.4095, allocations: 116.2 kB / 0.5001 GB, free: 10.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.4096, allocations: 113.2 kB / 0.5002 GB, free: 10.16 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.4097, allocations: 133.6 kB / 0.5003 GB, free: 10.06 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.42e-05/0.4097, allocations: 29.55 kB / 0.5003 GB, free: 10.03 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.744e-05/0.4097, allocations: 88.42 kB / 0.5004 GB, free: 9.941 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.921e-05/0.4097, allocations: 18.06 kB / 0.5004 GB, free: 9.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.4098, allocations: 0 / 0.5004 GB, free: 9.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.251e-05/0.4098, allocations: 325 kB / 0.5008 GB, free: 9.621 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.367e-05/0.4099, allocations: 18.94 kB / 0.5008 GB, free: 9.617 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.4099, allocations: 125.8 kB / 0.5009 GB, free: 9.477 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.692e-05/0.41, allocations: 37.05 kB / 0.5009 GB, free: 9.469 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.41, allocations: 3.875 kB / 0.5009 GB, free: 9.469 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001764/0.4102, allocations: 138 kB / 0.5011 GB, free: 9.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.4102, allocations: 7.719 kB / 0.5011 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4102, allocations: 3.938 kB / 0.5011 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4102, allocations: 7.781 kB / 0.5011 GB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.4103, allocations: 35.44 kB / 0.5011 GB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4104, allocations: 12.81 kB / 0.5011 GB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.264e-05/0.4105, allocations: 16.84 kB / 0.5011 GB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4105, allocations: 7.688 kB / 0.5012 GB, free: 9.387 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 8 (upSample2.b_super,$CLKPRE.upSample2.b_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample2.b,$CLKPRE.upSample2.b,upSample1.b,$CLKPRE.upSample1.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 6.296e-05/0.4105, allocations: 117.7 kB / 0.5013 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.4107, allocations: 100.8 kB / 0.5014 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.453e-05/0.4107, allocations: 17.08 kB / 0.5014 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.4108, allocations: 3.875 kB / 0.5014 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.4108, allocations: 1.594 kB / 0.5014 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4108, allocations: 7.984 kB / 0.5014 GB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.4109, allocations: 176.2 kB / 0.5016 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.4109, allocations: 0 / 0.5016 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.411, allocations: 22.38 kB / 0.5016 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4111, allocations: 3.625 kB / 0.5016 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4111, allocations: 1.969 kB / 0.5016 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4111, allocations: 3.688 kB / 0.5016 GB, free: 9.062 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.4111, allocations: 3.906 kB / 0.5016 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001837/0.4113, allocations: 259.8 kB / 0.5018 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.349e-05/0.4113, allocations: 97.72 kB / 0.5019 GB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/0.4114, allocations: 13.53 kB / 0.5019 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.071e-05/0.4115, allocations: 3.688 kB / 0.5019 GB, free: 8.754 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.019e-05/0.4115, allocations: 8.438 kB / 0.502 GB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.4115, allocations: 3.812 kB / 0.502 GB, free: 8.75 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.982e-05/0.4116, allocations: 109.8 kB / 0.5021 GB, free: 8.676 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000262/0.4118, allocations: 15.41 kB / 0.5021 GB, free: 8.676 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: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 9.553e-05/0.4119, allocations: 99.53 kB / 0.5022 GB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.4121, allocations: 86.14 kB / 0.5023 GB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4121, allocations: 4.344 kB / 0.5023 GB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.286e-05/0.4121, allocations: 4 kB / 0.5023 GB, free: 8.566 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.4125, allocations: 70.8 kB / 0.5023 GB, free: 8.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.4128, allocations: 167 kB / 0.5025 GB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.413, allocations: 0.7461 MB / 0.5032 GB, free: 7.73 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4131, allocations: 4.062 kB / 0.5032 GB, free: 7.727 MB / 330.7 MB Notification: Performance of Templates: time 0.003481/0.4165, allocations: 1.107 MB / 0.5043 GB, free: 7.637 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches