Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.00198/0.00198, allocations: 80.67 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.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.002708/0.002708, allocations: 146.9 kB / 23.93 MB, free: 4.188 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.504/1.504, allocations: 173.3 MB / 200.4 MB, free: 12.89 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.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|sample1.y|upSample.y|superSampleIpo.y|FIR1.y|FIR2.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.56e-05/2.714e-05, allocations: 5.094 kB / 318.9 MB, free: 3.547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002453/0.00248, allocations: 1.722 MB / 320.7 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000937/0.003417, allocations: 0.5837 MB / 321.2 MB, free: 2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.003515, allocations: 7.562 kB / 321.3 MB, free: 1.996 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001524/0.003667, allocations: 20.3 kB / 321.3 MB, free: 1.984 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.003873, allocations: 45.58 kB / 321.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.004252, allocations: 128.7 kB / 321.4 MB, free: 1.887 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.004423, allocations: 144.8 kB / 321.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.004527, allocations: 29.62 kB / 321.6 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.00468, allocations: 93.27 kB / 321.7 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.004905, allocations: 95.16 kB / 321.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.143e-05/0.004946, allocations: 14.56 kB / 321.8 MB, free: 1.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.131e-05/0.004978, allocations: 17.44 kB / 321.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.005062, allocations: 67.36 kB / 321.9 MB, free: 1.699 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.005135, allocations: 51.38 kB / 321.9 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.005401, allocations: 219.8 kB / 322.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.005404, allocations: 1.25 kB / 322.2 MB, free: 1.586 MB / 286.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.005405, allocations: 3.938 kB / 322.2 MB, free: 1.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.00541, allocations: 0 / 322.2 MB, free: 1.582 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0007318/0.006142, allocations: 453.2 kB / 322.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.006174, allocations: 11.88 kB / 322.6 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.807e-05/0.006232, allocations: 23.02 kB / 322.6 MB, free: 1.199 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.006489, allocations: 187.7 kB / 322.8 MB, free: 1.035 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.006525, allocations: 25.45 kB / 322.8 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.006555, allocations: 14.81 kB / 322.9 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.007608, allocations: 0.6271 MB / 323.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.007623, allocations: 192 / 323.5 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.489e-05/0.007648, allocations: 6.938 kB / 323.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.894e-05/0.007677, allocations: 14.86 kB / 323.5 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004074/0.008084, allocations: 186.1 kB / 323.7 MB, free: 0.6875 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.008418, allocations: 269.6 kB / 324 MB, free: 452 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.008837, allocations: 229.3 kB / 324.2 MB, free: 320 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.009084, allocations: 142.8 kB / 324.3 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.00912, allocations: 8.625 kB / 324.3 MB, free: 252 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.009141, allocations: 43.38 kB / 324.4 MB, free: 204 kB / 286.1 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.009142, allocations: 0 / 324.4 MB, free: 204 kB / 286.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008218/0.009964, allocations: 421.2 kB / 324.8 MB, free: 44 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001432/0.01011, allocations: 136.4 kB / 324.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.01026, allocations: 171.3 kB / 325.1 MB, free: 15.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.01031, allocations: 39.2 kB / 325.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.01038, allocations: 98.78 kB / 325.2 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.01042, allocations: 40.84 kB / 325.3 MB, free: 15.62 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.256e-05/0.01049, allocations: 44.52 kB / 325.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.01065, allocations: 328.3 kB / 325.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001129/0.01077, allocations: 48.97 kB / 325.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.01095, allocations: 146.7 kB / 325.8 MB, free: 15.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.01121, allocations: 179.8 kB / 326 MB, free: 14.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.01121, allocations: 1.062 kB / 326 MB, free: 14.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003713/0.01158, allocations: 225.4 kB / 326.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.0116, allocations: 13.12 kB / 326.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01161, allocations: 3.344 kB / 326.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.01163, allocations: 9.328 kB / 326.2 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.01177, allocations: 39.84 kB / 326.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.01179, allocations: 9.734 kB / 326.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.737e-05/0.01189, allocations: 18.28 kB / 326.3 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.0119, allocations: 13.44 kB / 326.3 MB, free: 14.83 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 12 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,$CLKPRE.FIR1.first,FIR1.first,$CLKPRE.FIR2.first,FIR2.first,$CLKPRE.upSample.b_super,upSample.b_super,$CLKPRE.superSampleIpo.first,superSampleIpo.first,$CLKPRE.upSample.b,upSample.b) * Number of discrete states: 0 () * Number of clocked states: 13 (superSampleIpo.ticks,FIR1.first,FIR1.u_buffer[2],FIR1.u_buffer[1],FIR2.first,FIR2.u_buffer[4],FIR2.u_buffer[3],FIR2.u_buffer[2],FIR2.u_buffer[1],upSample.b_super,superSampleIpo.first,superSampleIpo.uu,upSample.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * 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.0001774/0.01208, allocations: 154.4 kB / 326.5 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000556/0.01264, allocations: 298.2 kB / 326.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.177e-05/0.01273, allocations: 33.69 kB / 326.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-06/0.01274, allocations: 8.562 kB / 326.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.01274, allocations: 5.312 kB / 326.8 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.01275, allocations: 7.516 kB / 326.8 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.01296, allocations: 149.9 kB / 327 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01296, allocations: 5.438 kB / 327 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.01325, allocations: 64.58 kB / 327 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.01325, allocations: 2.062 kB / 327 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.208e-05/0.01328, allocations: 17.89 kB / 327 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.01329, allocations: 2.094 kB / 327 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.01329, allocations: 1.094 kB / 327 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.01396, allocations: 431.8 kB / 327.5 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.01408, allocations: 65.75 kB / 327.5 MB, free: 14.08 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.292e-05/0.01414, allocations: 17.67 kB / 327.5 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01429, allocations: 16.44 kB / 327.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.01432, allocations: 1.578 kB / 327.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.01435, allocations: 14.61 kB / 327.6 MB, free: 14.06 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001164/0.01447, allocations: 132.8 kB / 327.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.01447, allocations: 0 / 327.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003209/0.01479, allocations: 40.12 kB / 327.7 MB, free: 13.96 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: 7 (upSample.b_super,FIR2.first,FIR1.first,superSampleIpo.usedFactor,superSampleIpo.ticks,upSample.b,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 13 (upSample.b_super,FIR2.u_buffer[1],FIR2.u_buffer[2],FIR2.u_buffer[3],FIR2.u_buffer[4],FIR2.first,FIR1.u_buffer[1],FIR1.u_buffer[2],FIR1.first,superSampleIpo.ticks,upSample.b,superSampleIpo.uu,superSampleIpo.first) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.0001547/0.01494, allocations: 117.9 kB / 327.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004626/0.0154, allocations: 199.7 kB / 328.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.01541, allocations: 0 / 328.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.423e-05/0.01545, allocations: 14.95 kB / 328.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006951/0.01615, allocations: 196.3 kB / 328.3 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.01748, allocations: 0.5434 MB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001971/0.01768, allocations: 164.6 kB / 329 MB, free: 13.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.874e-05/0.01772, allocations: 16.59 kB / 329 MB, free: 13.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.0178, allocations: 27.72 kB / 329 MB, free: 13.33 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.0178, allocations: 4 kB / 329 MB, free: 13.33 MB / 302.1 MB Notification: Performance of Templates: time 0.006685/0.02448, allocations: 2.565 MB / 331.6 MB, free: 12.59 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.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.37830301746726]