Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 169.1 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 325.1 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.103e-05/3.303e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003803/0.003836, allocations: 1.768 MB / 326.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.005359, allocations: 0.5762 MB / 327.4 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.005522, allocations: 6.125 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.804e-05/0.00559, allocations: 9.656 kB / 327.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.005867, allocations: 15.83 kB / 327.5 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006466/0.006513, allocations: 118.7 kB / 327.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.006743, allocations: 87.97 kB / 327.7 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.006881, allocations: 24.72 kB / 327.7 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.007101, allocations: 59.53 kB / 327.7 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.007187, allocations: 32.8 kB / 327.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.833e-05/0.007216, allocations: 7.219 kB / 327.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.675e-05/0.007272, allocations: 13.91 kB / 327.8 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.932e-05/0.007342, allocations: 32.72 kB / 327.8 MB, free: 14.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.007395, allocations: 25.73 kB / 327.8 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.007645, allocations: 121.3 kB / 328 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.007649, allocations: 0 / 328 MB, free: 14.69 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.007651, allocations: 0 / 328 MB, free: 14.69 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.007658, allocations: 1.312 kB / 328 MB, free: 14.69 MB / 302.1 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.0006843/0.008342, allocations: 348.7 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.008381, allocations: 8.969 kB / 328.3 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001797/0.008561, allocations: 25.55 kB / 328.3 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003247/0.008885, allocations: 179.2 kB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.008911, allocations: 8.969 kB / 328.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.008936, allocations: 11.03 kB / 328.5 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005692/0.009505, allocations: 266 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.009518, allocations: 0.8438 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.009541, allocations: 5.562 kB / 328.8 MB, free: 14.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.009551, allocations: 6.094 kB / 328.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.009726, allocations: 51.33 kB / 328.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000388/0.01011, allocations: 231.3 kB / 329.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/0.01038, allocations: 128.8 kB / 329.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.01052, allocations: 71.12 kB / 329.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.01055, allocations: 7.453 kB / 329.3 MB, free: 13.65 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.01058, allocations: 41.89 kB / 329.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.383e-06/0.01058, allocations: 0 / 329.3 MB, free: 13.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.000486/0.01107, allocations: 178.1 kB / 329.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.01117, allocations: 118 kB / 329.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/0.01136, allocations: 159.4 kB / 329.8 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.01138, allocations: 27.02 kB / 329.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.01145, allocations: 101 kB / 329.9 MB, free: 13.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.666e-05/0.01147, allocations: 16.77 kB / 329.9 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.037e-05/0.01152, allocations: 21.58 kB / 329.9 MB, free: 13.1 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.01169, allocations: 320.7 kB / 330.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.66e-05/0.01176, allocations: 20.33 kB / 330.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.01184, allocations: 50.78 kB / 330.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.01198, allocations: 70.41 kB / 330.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01198, allocations: 0 / 330.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002036/0.01219, allocations: 97.39 kB / 330.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.0122, allocations: 9.406 kB / 330.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01221, allocations: 1.25 kB / 330.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.01224, allocations: 6.969 kB / 330.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/0.01232, allocations: 10.66 kB / 330.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.01232, allocations: 1.641 kB / 330.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.165e-05/0.01239, allocations: 8.75 kB / 330.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.0124, allocations: 3.312 kB / 330.5 MB, free: 12.6 MB / 302.1 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.0001296/0.01253, allocations: 129 kB / 330.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002141/0.01274, allocations: 118.9 kB / 330.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.01279, allocations: 22.09 kB / 330.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.01279, allocations: 4.328 kB / 330.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.0128, allocations: 1.125 kB / 330.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.0128, allocations: 1.703 kB / 330.8 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001852/0.01299, allocations: 135.9 kB / 330.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.01299, allocations: 1.219 kB / 330.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.01311, allocations: 22.86 kB / 330.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.01311, allocations: 1.281 kB / 330.9 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.01313, allocations: 15.78 kB / 331 MB, free: 12.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.01313, allocations: 5.156 kB / 331 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.01314, allocations: 1.281 kB / 331 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003751/0.01351, allocations: 244.8 kB / 331.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.852e-05/0.01358, allocations: 29.36 kB / 331.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.01362, allocations: 6.703 kB / 331.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.067e-05/0.01371, allocations: 12.61 kB / 331.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.01374, allocations: 1.797 kB / 331.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/0.01375, allocations: 5.469 kB / 331.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.01385, allocations: 117.8 kB / 331.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01385, allocations: 1.5 kB / 331.4 MB, free: 11.95 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002688/0.01412, allocations: 20.91 kB / 331.4 MB, free: 11.94 MB / 302.1 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 0.0001288/0.01425, allocations: 96.92 kB / 331.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.01448, allocations: 76.38 kB / 331.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01449, allocations: 1.281 kB / 331.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.206e-05/0.01453, allocations: 14.88 kB / 331.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.01501, allocations: 79.16 kB / 331.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.01562, allocations: 264.6 kB / 331.9 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.01574, allocations: 107.5 kB / 332 MB, free: 11.51 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.508e-05/0.01579, allocations: 6.484 kB / 332 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.01584, allocations: 15.38 kB / 332 MB, free: 11.49 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.01584, allocations: 0 / 332 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Templates: time 0.005033/0.02087, allocations: 1.217 MB / 333.3 MB, free: 10.95 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample1/UpSample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.383998353034258]