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.001434/0.001434, allocations: 81.27 kB / 20.68 MB, free: 1.027 MB / 14.72 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.001354/0.001354, allocations: 151.2 kB / 23.94 MB, free: 4.156 MB / 14.72 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.493/1.493, allocations: 173.3 MB / 200.4 MB, free: 12.87 MB / 190.1 MB " [Timeout remaining time 178] 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 3.516e-06/3.516e-06, allocations: 1.188 kB / 318.9 MB, free: 3.543 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.205e-05/4.557e-05, allocations: 2.281 kB / 318.9 MB, free: 3.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.003099/0.003144, allocations: 1.726 MB / 320.7 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.004176, allocations: 0.5153 MB / 321.2 MB, free: 2.031 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.0043, allocations: 6.938 kB / 321.2 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.076e-05/0.004361, allocations: 9.234 kB / 321.2 MB, free: 2.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.004518, allocations: 13.39 kB / 321.2 MB, free: 2.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004445/0.004962, allocations: 103.8 kB / 321.3 MB, free: 1.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.005135, allocations: 87.61 kB / 321.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.005249, allocations: 28.41 kB / 321.4 MB, free: 1.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001559/0.005405, allocations: 56.95 kB / 321.5 MB, free: 1.867 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.972e-05/0.005485, allocations: 31.36 kB / 321.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.935e-05/0.005524, allocations: 8.25 kB / 321.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.104e-05/0.005545, allocations: 7.125 kB / 321.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.005609, allocations: 26.77 kB / 321.6 MB, free: 1.84 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.005663, allocations: 32.89 kB / 321.6 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.005859, allocations: 107.3 kB / 321.7 MB, free: 1.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.005862, allocations: 8.781 kB / 321.7 MB, free: 1.77 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.005863, allocations: 3.938 kB / 321.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.102e-06/0.005869, allocations: 1.188 kB / 321.7 MB, free: 1.766 MB / 286.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.0005323/0.006401, allocations: 351.5 kB / 322 MB, free: 1.445 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.006439, allocations: 9.406 kB / 322.1 MB, free: 1.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.006489, allocations: 15.62 kB / 322.1 MB, free: 1.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.006746, allocations: 156.5 kB / 322.2 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.006777, allocations: 13.34 kB / 322.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.006806, allocations: 14.25 kB / 322.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005066/0.007313, allocations: 270.1 kB / 322.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.007326, allocations: 192 / 322.5 MB, free: 1.129 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.007353, allocations: 6.531 kB / 322.5 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.00736, allocations: 5.891 kB / 322.5 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.00751, allocations: 54.42 kB / 322.6 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.007788, allocations: 232.2 kB / 322.8 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002255/0.008013, allocations: 125.5 kB / 322.9 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.008126, allocations: 66.86 kB / 323 MB, free: 0.7344 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.008156, allocations: 6.016 kB / 323 MB, free: 0.7305 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.412e-05/0.00817, allocations: 40.5 kB / 323 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.008172, allocations: 0 / 323 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.0004028/0.008574, allocations: 176.6 kB / 323.2 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.008628, allocations: 118 kB / 323.3 MB, free: 480 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.008751, allocations: 152.2 kB / 323.5 MB, free: 364 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.008766, allocations: 27.05 kB / 323.5 MB, free: 332 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.008802, allocations: 96.95 kB / 323.6 MB, free: 236 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.884e-05/0.008821, allocations: 12.67 kB / 323.6 MB, free: 228 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/0.008863, allocations: 25.23 kB / 323.6 MB, free: 204 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.008972, allocations: 322.1 kB / 323.9 MB, free: 15.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.09e-05/0.009033, allocations: 15.47 kB / 324 MB, free: 15.88 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.009109, allocations: 50.62 kB / 324 MB, free: 15.83 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.009238, allocations: 71.02 kB / 324.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.00924, allocations: 4 kB / 324.1 MB, free: 15.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001933/0.009434, allocations: 97.56 kB / 324.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.009451, allocations: 10.78 kB / 324.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.009456, allocations: 0 / 324.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.009472, allocations: 2.062 kB / 324.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.00955, allocations: 6.859 kB / 324.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.284e-05/0.009563, allocations: 10.61 kB / 324.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.009625, allocations: 12.06 kB / 324.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.009634, allocations: 6.438 kB / 324.2 MB, free: 15.69 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.0001238/0.009758, allocations: 141.7 kB / 324.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002043/0.009962, allocations: 117.5 kB / 324.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.01001, allocations: 22.92 kB / 324.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01002, allocations: 2.75 kB / 324.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.01002, allocations: 1.375 kB / 324.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.01003, allocations: 1.406 kB / 324.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.0102, allocations: 128 kB / 324.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.0102, allocations: 0 / 324.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.01032, allocations: 32.62 kB / 324.7 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.01033, allocations: 4.906 kB / 324.7 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.01034, allocations: 11.16 kB / 324.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.01035, allocations: 5.125 kB / 324.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01035, allocations: 1.125 kB / 324.7 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.01069, allocations: 248.5 kB / 324.9 MB, free: 15.13 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.01075, allocations: 26.08 kB / 325 MB, free: 15.12 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.094e-05/0.01078, allocations: 11.53 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.056e-05/0.01087, allocations: 7.609 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.01091, allocations: 2.141 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.01092, allocations: 8.938 kB / 325 MB, free: 15.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001058/0.01103, allocations: 116.4 kB / 325.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01103, allocations: 0 / 325.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.01128, allocations: 13.16 kB / 325.1 MB, free: 15.02 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.0001245/0.0114, allocations: 104.8 kB / 325.2 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002148/0.01162, allocations: 74.67 kB / 325.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.01162, allocations: 0 / 325.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.365e-05/0.01166, allocations: 12.12 kB / 325.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004684/0.01213, allocations: 71.03 kB / 325.4 MB, free: 14.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.01266, allocations: 263 kB / 325.6 MB, free: 14.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.01278, allocations: 107 kB / 325.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.159e-05/0.01282, allocations: 6.469 kB / 325.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.01286, allocations: 18.86 kB / 325.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01286, allocations: 0 / 325.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of Templates: time 0.004434/0.0173, allocations: 1.205 MB / 327 MB, free: 14.42 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.308315709233284]