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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 72.08 kB / 21.69 MB, free: 2.867 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 141.9 kB / 24.97 MB, free: 8.32 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.044/1.044, allocations: 173.3 MB / 201.5 MB, free: 9.336 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5028,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=5028,variableFilter="time|upSample1.y|upSample2.y|add.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.577e-05/3.813e-05, allocations: 2.312 kB / 268.1 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.002501/0.002539, allocations: 1.773 MB / 269.9 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008264/0.003365, allocations: 0.5373 MB / 270.4 MB, free: 4.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.003474, allocations: 3.938 kB / 270.4 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.384e-05/0.003538, allocations: 7.875 kB / 270.4 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.00372, allocations: 19.8 kB / 270.4 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.004037, allocations: 91.64 kB / 270.5 MB, free: 4.266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.00417, allocations: 95.69 kB / 270.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.004297, allocations: 21.3 kB / 270.6 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.004415, allocations: 55.88 kB / 270.7 MB, free: 4.094 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.004477, allocations: 35.83 kB / 270.7 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.004502, allocations: 8 kB / 270.7 MB, free: 4.051 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.004518, allocations: 8 kB / 270.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.304e-05/0.004581, allocations: 27.91 kB / 270.8 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.00463, allocations: 27.91 kB / 270.8 MB, free: 3.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004778, allocations: 83.59 kB / 270.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.004781, allocations: 0 / 270.9 MB, free: 3.906 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.004782, allocations: 4 kB / 270.9 MB, free: 3.902 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.004787, allocations: 0 / 270.9 MB, free: 3.902 MB / 250.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.0004918/0.005279, allocations: 448 kB / 271.3 MB, free: 3.43 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.005318, allocations: 12.03 kB / 271.3 MB, free: 3.418 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.491e-05/0.005373, allocations: 24.84 kB / 271.3 MB, free: 3.395 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.00558, allocations: 172.2 kB / 271.5 MB, free: 3.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.005606, allocations: 8.359 kB / 271.5 MB, free: 3.191 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.005622, allocations: 12.38 kB / 271.5 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.006012, allocations: 259.5 kB / 271.8 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.00602, allocations: 4.188 kB / 271.8 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.006033, allocations: 4.375 kB / 271.8 MB, free: 2.891 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.006043, allocations: 7.938 kB / 271.8 MB, free: 2.883 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.704e-05/0.0061, allocations: 27.86 kB / 271.8 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000308/0.006408, allocations: 287.2 kB / 272.1 MB, free: 2.531 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.006586, allocations: 133.2 kB / 272.2 MB, free: 2.363 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.043e-05/0.006656, allocations: 63.2 kB / 272.3 MB, free: 2.289 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.00668, allocations: 4 kB / 272.3 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.006706, allocations: 45.33 kB / 272.4 MB, free: 2.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.923e-06/0.006708, allocations: 4 kB / 272.4 MB, free: 2.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002803/0.006988, allocations: 137.6 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.007056, allocations: 122.8 kB / 272.6 MB, free: 1.941 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.007166, allocations: 201.9 kB / 272.8 MB, free: 1.727 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.007178, allocations: 29.7 kB / 272.8 MB, free: 1.691 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.188e-05/0.00723, allocations: 138.9 kB / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.806e-05/0.007248, allocations: 7.953 kB / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-05/0.007283, allocations: 35.31 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.007406, allocations: 0.4884 MB / 273.5 MB, free: 1 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.272e-05/0.007429, allocations: 11.92 kB / 273.5 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.007469, allocations: 62.48 kB / 273.6 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.31e-05/0.007532, allocations: 66.38 kB / 273.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.007534, allocations: 0 / 273.6 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.936e-05/0.007634, allocations: 81.52 kB / 273.7 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.00765, allocations: 8.094 kB / 273.7 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.007656, allocations: 8 kB / 273.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.00767, allocations: 0 / 273.7 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.249e-05/0.007753, allocations: 11.98 kB / 273.7 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.00776, allocations: 4 kB / 273.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.492e-05/0.007785, allocations: 0 / 273.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.007792, allocations: 4 kB / 273.8 MB, free: 0.6992 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 8 ($CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.007897, allocations: 172.5 kB / 273.9 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.008024, allocations: 105.5 kB / 274 MB, free: 420 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.008063, allocations: 20.77 kB / 274 MB, free: 400 kB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.008067, allocations: 8 kB / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.008071, allocations: 0 / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.008076, allocations: 0 / 274.1 MB, free: 392 kB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.008201, allocations: 144.6 kB / 274.2 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.008203, allocations: 0 / 274.2 MB, free: 212 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.184e-05/0.008275, allocations: 27.92 kB / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.008277, allocations: 0 / 274.2 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.008289, allocations: 11.94 kB / 274.2 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.008291, allocations: 0 / 274.2 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008292, allocations: 0 / 274.2 MB, free: 172 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.008488, allocations: 294 kB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.008534, allocations: 39.81 kB / 274.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.008552, allocations: 3.938 kB / 274.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.008601, allocations: 11.98 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.075e-05/0.008631, allocations: 0 / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.008638, allocations: 4 kB / 274.6 MB, free: 15.8 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.008698, allocations: 158.2 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008698, allocations: 0 / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.008862, allocations: 16 kB / 274.8 MB, free: 15.63 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.743e-05/0.008959, allocations: 95.64 kB / 274.8 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.009084, allocations: 67.53 kB / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009086, allocations: 0 / 274.9 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.514e-05/0.009101, allocations: 15.62 kB / 274.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000423/0.009524, allocations: 75.97 kB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006437/0.01017, allocations: 262.8 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.961e-05/0.01022, allocations: 79.33 kB / 275.3 MB, free: 14.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.037e-05/0.01025, allocations: 9.359 kB / 275.3 MB, free: 14.96 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.01028, allocations: 12.5 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.01029, allocations: 0 / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of Templates: time 0.004185/0.01447, allocations: 1.234 MB / 276.6 MB, free: 13.73 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9835056599695235]