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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001023/0.001023, allocations: 171.9 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.558/1.558, allocations: 205.4 MB / 223 MB, free: 8.93 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.0008377/0.0008376, allocations: 86.36 kB / 271.3 MB, free: 8.238 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.08993/0.08993, allocations: 12.59 MB / 332.2 MB, free: 11.24 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005022/0.0005024, allocations: 16 kB / 393.2 MB, free: 65.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08598/0.0865, allocations: 50.37 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3165/0.4031, allocations: 78.78 MB / 0.5102 GB, free: 13.28 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002289/0.4034, allocations: 85.81 kB / 0.5102 GB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01013/0.4135, allocations: 4.15 MB / 0.5143 GB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4136, allocations: 0 / 0.5143 GB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.693e-05/0.4136, allocations: 4 kB / 0.5143 GB, free: 11.74 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.0004919/0.4141, allocations: 414.3 kB / 0.5147 GB, free: 11.33 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4141, allocations: 11.59 kB / 0.5147 GB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.999e-05/0.4142, allocations: 16.59 kB / 0.5147 GB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.4144, allocations: 214.4 kB / 0.5149 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.4145, allocations: 7.781 kB / 0.5149 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.4145, allocations: 11.78 kB / 0.5149 GB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.415, allocations: 273.3 kB / 0.5152 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.415, allocations: 4.125 kB / 0.5152 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.415, allocations: 3.938 kB / 0.5152 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.415, allocations: 7.906 kB / 0.5152 GB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.4151, allocations: 51.09 kB / 0.5153 GB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.4155, allocations: 306.4 kB / 0.5156 GB, free: 10.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.4157, allocations: 145.8 kB / 0.5157 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.4158, allocations: 78.27 kB / 0.5158 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.4159, allocations: 3.875 kB / 0.5158 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.4159, allocations: 42 kB / 0.5158 GB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.673e-06/0.4159, allocations: 0 / 0.5158 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003843/0.4163, allocations: 175.5 kB / 0.516 GB, free: 10.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/0.4164, allocations: 121.9 kB / 0.5161 GB, free: 10.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.4165, allocations: 153.1 kB / 0.5162 GB, free: 10.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.4165, allocations: 29.02 kB / 0.5163 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.354e-05/0.4166, allocations: 89.39 kB / 0.5164 GB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.4166, allocations: 23.19 kB / 0.5164 GB, free: 10.03 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.661e-06/0.4166, allocations: 3.75 kB / 0.5164 GB, free: 10.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/0.4167, allocations: 321.4 kB / 0.5167 GB, free: 9.711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.4168, allocations: 26.45 kB / 0.5167 GB, free: 9.707 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.929e-05/0.4169, allocations: 143.4 kB / 0.5168 GB, free: 9.551 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.417, allocations: 175.3 kB / 0.517 GB, free: 9.387 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.417, allocations: 3.875 kB / 0.517 GB, free: 9.387 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000242/0.4173, allocations: 187.7 kB / 0.5172 GB, free: 9.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.4173, allocations: 11.66 kB / 0.5172 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4173, allocations: 3.969 kB / 0.5172 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4173, allocations: 3.844 kB / 0.5172 GB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.4175, allocations: 31.14 kB / 0.5172 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.4175, allocations: 4.375 kB / 0.5172 GB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.4176, allocations: 23.12 kB / 0.5173 GB, free: 9.281 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.4176, allocations: 8.312 kB / 0.5173 GB, free: 9.281 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 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * 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 8.921e-05/0.4177, allocations: 152.1 kB / 0.5174 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.4178, allocations: 117.3 kB / 0.5175 GB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.45e-05/0.4179, allocations: 18.03 kB / 0.5176 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.4179, allocations: 3.844 kB / 0.5176 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4179, allocations: 0 / 0.5176 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.4179, allocations: 7.922 kB / 0.5176 GB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.4181, allocations: 198.9 kB / 0.5178 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.4181, allocations: 3.812 kB / 0.5178 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.958e-05/0.4182, allocations: 26.77 kB / 0.5178 GB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4182, allocations: 0 / 0.5178 GB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4182, allocations: 7.703 kB / 0.5178 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4182, allocations: 0 / 0.5178 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4182, allocations: 80 / 0.5178 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.4185, allocations: 268.5 kB / 0.518 GB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.778e-05/0.4185, allocations: 99.58 kB / 0.5181 GB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4186, allocations: 7.312 kB / 0.5181 GB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.908e-05/0.4187, allocations: 3.875 kB / 0.5182 GB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.4187, allocations: 3.844 kB / 0.5182 GB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.4187, allocations: 7.953 kB / 0.5182 GB, free: 8.566 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.4188, allocations: 122 kB / 0.5183 GB, free: 8.477 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4188, allocations: 0 / 0.5183 GB, free: 8.477 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000266/0.419, allocations: 23.09 kB / 0.5183 GB, free: 8.473 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 () * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * 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 8.844e-05/0.4191, allocations: 102.1 kB / 0.5184 GB, free: 8.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.4194, allocations: 116.5 kB / 0.5185 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4194, allocations: 3.688 kB / 0.5185 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.459e-05/0.4194, allocations: 7.5 kB / 0.5185 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.4199, allocations: 80.8 kB / 0.5186 GB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.4203, allocations: 307 kB / 0.5189 GB, free: 8.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/0.4205, allocations: 0.7164 MB / 0.5196 GB, free: 7.297 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.14e-05/0.4205, allocations: 17.42 kB / 0.5196 GB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.507e-05/0.4206, allocations: 15.44 kB / 0.5196 GB, free: 7.262 MB / 330.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4206, allocations: 0 / 0.5196 GB, free: 7.262 MB / 330.7 MB Notification: Performance of Templates: time 0.003181/0.4237, allocations: 1.052 MB / 0.5206 GB, free: 6.234 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/jenkins1/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