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.001627/0.001627, allocations: 92.62 kB / 20.96 MB, free: 3.477 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.001943/0.001943, allocations: 153.4 kB / 24.26 MB, free: 184 kB / 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.421/1.421, allocations: 173.4 MB / 200.8 MB, free: 9.312 MB / 186.7 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 1.703e-06/1.703e-06, allocations: 0 / 267.3 MB, free: 6.715 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.881e-05, allocations: 2.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample1): time 0.00344/0.003468, allocations: 1.738 MB / 269.1 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.00481, allocations: 0.5178 MB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001361/0.004946, allocations: 7.938 kB / 269.6 MB, free: 4.426 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.074e-05/0.005017, allocations: 11.88 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001767/0.005194, allocations: 11.86 kB / 269.6 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.005682, allocations: 95.64 kB / 269.7 MB, free: 4.309 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001989/0.005881, allocations: 91.69 kB / 269.8 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.006016, allocations: 21.3 kB / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001694/0.006186, allocations: 63.75 kB / 269.9 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.006268, allocations: 31.89 kB / 269.9 MB, free: 4.102 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.006297, allocations: 4 kB / 269.9 MB, free: 4.098 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.498e-05/0.006322, allocations: 8 kB / 269.9 MB, free: 4.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.006393, allocations: 31.91 kB / 270 MB, free: 4.059 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.777e-05/0.006461, allocations: 23.92 kB / 270 MB, free: 4.035 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.006702, allocations: 111.6 kB / 270.1 MB, free: 3.926 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.006705, allocations: 4 kB / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006706, allocations: 0 / 270.1 MB, free: 3.922 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.00671, allocations: 0 / 270.1 MB, free: 3.922 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.0006432/0.007354, allocations: 357.6 kB / 270.5 MB, free: 3.543 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.007396, allocations: 12.03 kB / 270.5 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.007468, allocations: 20.84 kB / 270.5 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003251/0.007793, allocations: 161.5 kB / 270.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.007822, allocations: 12.38 kB / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.007846, allocations: 12.31 kB / 270.7 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005895/0.008436, allocations: 270.2 kB / 270.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.008446, allocations: 192 / 270.9 MB, free: 3.02 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.008463, allocations: 4.375 kB / 270.9 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.008477, allocations: 3.938 kB / 270.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.008642, allocations: 51.97 kB / 271 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.009028, allocations: 226.2 kB / 271.2 MB, free: 2.703 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.009313, allocations: 131.9 kB / 271.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.009465, allocations: 62.62 kB / 271.4 MB, free: 2.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.0095, allocations: 7.984 kB / 271.4 MB, free: 2.469 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.977e-05/0.00955, allocations: 46.44 kB / 271.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of pre-optimization done (n=17): time 1.103e-06/0.009551, allocations: 0 / 271.5 MB, free: 2.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004897/0.01004, allocations: 177.4 kB / 271.6 MB, free: 2.234 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.01015, allocations: 111.2 kB / 271.7 MB, free: 2.102 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.01033, allocations: 152.1 kB / 271.9 MB, free: 1.945 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.01035, allocations: 29.83 kB / 271.9 MB, free: 1.91 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.01045, allocations: 108.1 kB / 272 MB, free: 1.801 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.01047, allocations: 15.94 kB / 272 MB, free: 1.785 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.01052, allocations: 21.7 kB / 272.1 MB, free: 1.758 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.0107, allocations: 318.8 kB / 272.4 MB, free: 1.438 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.01076, allocations: 15.98 kB / 272.4 MB, free: 1.422 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.405e-05/0.01085, allocations: 56.16 kB / 272.4 MB, free: 1.352 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.01099, allocations: 68.22 kB / 272.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.01099, allocations: 0 / 272.5 MB, free: 1.27 MB / 250.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002149/0.0112, allocations: 105.5 kB / 272.6 MB, free: 1.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.01122, allocations: 7.938 kB / 272.6 MB, free: 1.152 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.01123, allocations: 3.984 kB / 272.6 MB, free: 1.148 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.01125, allocations: 4 kB / 272.6 MB, free: 1.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.121e-05/0.01134, allocations: 16.14 kB / 272.6 MB, free: 1.129 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.01135, allocations: 4 kB / 272.6 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.0114, allocations: 0 / 272.6 MB, free: 1.125 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.01141, allocations: 4 kB / 272.6 MB, free: 1.121 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.000141/0.01156, allocations: 133.8 kB / 272.8 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002236/0.01178, allocations: 121.5 kB / 272.9 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.01183, allocations: 20.78 kB / 272.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01183, allocations: 0 / 272.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.01184, allocations: 8 kB / 272.9 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.65e-06/0.01185, allocations: 3.984 kB / 272.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.01203, allocations: 129.2 kB / 273.1 MB, free: 0.668 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.01204, allocations: 7.984 kB / 273.1 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.01215, allocations: 19.98 kB / 273.1 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.01216, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.01217, allocations: 7.938 kB / 273.1 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.01218, allocations: 7.938 kB / 273.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01218, allocations: 0 / 273.1 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.01254, allocations: 252 kB / 273.3 MB, free: 364 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.01261, allocations: 27.92 kB / 273.4 MB, free: 336 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.01263, allocations: 3.938 kB / 273.4 MB, free: 332 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.01273, allocations: 12 kB / 273.4 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.261e-05/0.01276, allocations: 0 / 273.4 MB, free: 320 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.01277, allocations: 4 kB / 273.4 MB, free: 316 kB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.01288, allocations: 118.1 kB / 273.5 MB, free: 200 kB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01288, allocations: 7.875 kB / 273.5 MB, free: 192 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002589/0.01314, allocations: 23.95 kB / 273.5 MB, free: 168 kB / 250.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 0.0001449/0.01328, allocations: 103.2 kB / 273.6 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002514/0.01353, allocations: 72.11 kB / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01353, allocations: 0 / 273.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.01358, allocations: 15.92 kB / 273.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004983/0.01408, allocations: 80.44 kB / 273.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.01467, allocations: 262.6 kB / 274.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001553/0.01482, allocations: 109.9 kB / 274.2 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.873e-05/0.01486, allocations: 8.984 kB / 274.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.666e-05/0.01491, allocations: 16.5 kB / 274.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01491, allocations: 0 / 274.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of Templates: time 0.00463/0.01954, allocations: 1.233 MB / 275.4 MB, free: 14.23 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=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.218899158993736]