Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009635/0.0009636, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 221.5 MB / 230.3 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000835/0.0008352, allocations: 91.06 kB / 281.2 MB, free: 5.324 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.492e-05/1.48e-05, allocations: 4 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09891/0.09894, allocations: 50.42 MB / 387.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3108/0.4098, allocations: 76.85 MB / 464.3 MB, free: 2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.4102, allocations: 79.95 kB / 464.4 MB, free: 1.922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01171/0.4219, allocations: 4.419 MB / 468.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4219, allocations: 0 / 468.8 MB, free: 13.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.4219, allocations: 4 kB / 468.8 MB, free: 13.5 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004111/0.4224, allocations: 398.8 kB / 469.2 MB, free: 13.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.4224, allocations: 8.031 kB / 469.2 MB, free: 13.06 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.4225, allocations: 19.77 kB / 469.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.4227, allocations: 213.4 kB / 469.4 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.4227, allocations: 4 kB / 469.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.4227, allocations: 8 kB / 469.5 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001288/0.4229, allocations: 43.98 kB / 469.5 MB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003658/0.4233, allocations: 233.5 kB / 469.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.4233, allocations: 7.953 kB / 469.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4233, allocations: 0 / 469.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.4233, allocations: 4 kB / 469.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.4237, allocations: 275.1 kB / 470 MB, free: 12.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.4238, allocations: 123.7 kB / 470.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.4239, allocations: 62.91 kB / 470.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.424, allocations: 11.92 kB / 470.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.424, allocations: 38.56 kB / 470.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 1.313e-06/0.424, allocations: 4 kB / 470.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002427/0.4243, allocations: 118.4 kB / 470.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.171e-05/0.4244, allocations: 111.5 kB / 470.5 MB, free: 11.63 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4245, allocations: 130.8 kB / 470.6 MB, free: 11.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4245, allocations: 29.7 kB / 470.6 MB, free: 11.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.4246, allocations: 88.14 kB / 470.7 MB, free: 11.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/0.4246, allocations: 19.83 kB / 470.7 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.4246, allocations: 4.031 kB / 470.7 MB, free: 11.35 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4247, allocations: 322.8 kB / 471 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.4248, allocations: 20.47 kB / 471.1 MB, free: 11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.4249, allocations: 127 kB / 471.2 MB, free: 10.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.92e-05/0.4249, allocations: 39.92 kB / 471.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.4249, allocations: 0 / 471.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001968/0.4251, allocations: 149.3 kB / 471.4 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4252, allocations: 5.094 kB / 471.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4252, allocations: 4 kB / 471.4 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.4252, allocations: 8 kB / 471.4 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.4253, allocations: 39.81 kB / 471.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.4253, allocations: 4.578 kB / 471.4 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.88e-05/0.4254, allocations: 15.89 kB / 471.5 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.4254, allocations: 15.98 kB / 471.5 MB, free: 10.55 MB / 346.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 8.531e-05/0.4255, allocations: 118.4 kB / 471.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.4257, allocations: 101.5 kB / 471.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.263e-05/0.4257, allocations: 12.62 kB / 471.7 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.4258, allocations: 4 kB / 471.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4258, allocations: 7.953 kB / 471.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.4258, allocations: 0 / 471.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4259, allocations: 170.1 kB / 471.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.4259, allocations: 4 kB / 471.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.4261, allocations: 31.92 kB / 471.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4261, allocations: 0 / 471.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.4261, allocations: 0 / 471.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.4261, allocations: 4 kB / 471.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4261, allocations: 0 / 471.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.4263, allocations: 257.8 kB / 472.2 MB, free: 9.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.4264, allocations: 100.8 kB / 472.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.309e-05/0.4265, allocations: 7.984 kB / 472.3 MB, free: 9.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.002e-05/0.4265, allocations: 7.953 kB / 472.3 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.009e-05/0.4266, allocations: 3.938 kB / 472.3 MB, free: 9.633 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.277e-06/0.4266, allocations: 4 kB / 472.3 MB, free: 9.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.123e-05/0.4267, allocations: 114.5 kB / 472.4 MB, free: 9.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4267, allocations: 4 kB / 472.4 MB, free: 9.516 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.4269, allocations: 16 kB / 472.4 MB, free: 9.5 MB / 346.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 0.0001128/0.4271, allocations: 99.23 kB / 472.5 MB, free: 9.395 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001529/0.4272, allocations: 83.91 kB / 472.6 MB, free: 9.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4272, allocations: 5 kB / 472.6 MB, free: 9.309 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.4273, allocations: 4 kB / 472.6 MB, free: 9.305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.4276, allocations: 73.56 kB / 472.7 MB, free: 9.234 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.428, allocations: 170.4 kB / 472.8 MB, free: 9.039 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.4283, allocations: 0.7241 MB / 473.6 MB, free: 8.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.159e-05/0.4283, allocations: 9.219 kB / 473.6 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.713e-05/0.4284, allocations: 19.42 kB / 473.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4284, allocations: 0 / 473.6 MB, free: 8.258 MB / 346.7 MB Notification: Performance of Templates: time 0.003154/0.4315, allocations: 1.024 MB / 474.6 MB, free: 7.242 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches