Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009987/0.0009987, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001128/0.001128, allocations: 167.6 kB / 24.82 MB, free: 8.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.004/1.004, allocations: 177 MB / 205.1 MB, free: 4.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 273.3 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.589e-05, allocations: 2.312 kB / 273.3 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.002315/0.00233, allocations: 1.785 MB / 275.1 MB, free: 2.469 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009287/0.003259, allocations: 0.6682 MB / 275.8 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.00337, allocations: 11.88 kB / 275.8 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.003533, allocations: 15.86 kB / 275.8 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.003717, allocations: 41.47 kB / 275.9 MB, free: 1.73 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.004035, allocations: 139.5 kB / 276 MB, free: 1.594 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.00419, allocations: 152.8 kB / 276.1 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.523e-05/0.004285, allocations: 25.78 kB / 276.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001602/0.004446, allocations: 95.72 kB / 276.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/0.004612, allocations: 103.7 kB / 276.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/0.004638, allocations: 12 kB / 276.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.484e-05/0.004682, allocations: 16 kB / 276.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.114e-05/0.004744, allocations: 63.81 kB / 276.5 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.004788, allocations: 51.83 kB / 276.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.004968, allocations: 171.3 kB / 276.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.724e-06/0.00497, allocations: 0 / 276.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.52e-07/0.004971, allocations: 0 / 276.7 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.004975, allocations: 0 / 276.7 MB, free: 0.9141 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005056/0.00548, allocations: 0.5308 MB / 277.2 MB, free: 356 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.005518, allocations: 12.02 kB / 277.2 MB, free: 344 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.005637, allocations: 48.75 kB / 277.3 MB, free: 296 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.005827, allocations: 196.2 kB / 277.5 MB, free: 72 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.005851, allocations: 16.31 kB / 277.5 MB, free: 56 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.005868, allocations: 24.31 kB / 277.5 MB, free: 32 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.006315, allocations: 449.9 kB / 277.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.006324, allocations: 192 / 277.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.006336, allocations: 4.375 kB / 277.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.53e-05/0.006361, allocations: 15.94 kB / 278 MB, free: 15.54 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.006464, allocations: 75.84 kB / 278 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000257/0.006721, allocations: 307.5 kB / 278.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001691/0.00689, allocations: 161.1 kB / 278.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.802e-05/0.006968, allocations: 88.03 kB / 278.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.006992, allocations: 8 kB / 278.6 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.007016, allocations: 45.83 kB / 278.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.007018, allocations: 0 / 278.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=39): time 0.0002988/0.007316, allocations: 249.3 kB / 278.9 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.007393, allocations: 142.7 kB / 279 MB, free: 14.36 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.007491, allocations: 218 kB / 279.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.007507, allocations: 33.7 kB / 279.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.182e-05/0.007559, allocations: 151.8 kB / 279.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.007589, allocations: 35.72 kB / 279.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.634e-05/0.007636, allocations: 55.56 kB / 279.5 MB, free: 13.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.007751, allocations: 0.504 MB / 280 MB, free: 13.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.028e-05/0.007771, allocations: 20.45 kB / 280 MB, free: 13.3 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.008037, allocations: 144.5 kB / 280.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001248/0.008161, allocations: 187.3 kB / 280.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.008164, allocations: 0 / 280.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001692/0.008333, allocations: 177.2 kB / 280.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.008354, allocations: 10.66 kB / 280.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.008364, allocations: 11.92 kB / 280.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.008378, allocations: 4.438 kB / 280.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.008465, allocations: 35.92 kB / 280.6 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.008472, allocations: 11.94 kB / 280.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.496e-05/0.008517, allocations: 8 kB / 280.6 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.008525, allocations: 8 kB / 280.6 MB, free: 12.6 MB / 266.7 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.0001083/0.008634, allocations: 193.8 kB / 280.8 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.008826, allocations: 194.4 kB / 281 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.499e-05/0.008871, allocations: 42.58 kB / 281 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.008874, allocations: 4 kB / 281 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.008876, allocations: 0 / 281 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.00888, allocations: 4 kB / 281 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.008997, allocations: 137.1 kB / 281.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.115e-06/0.009, allocations: 0 / 281.2 MB, free: 11.99 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.009122, allocations: 63.91 kB / 281.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.009124, allocations: 0 / 281.2 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.009139, allocations: 11.98 kB / 281.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.00914, allocations: 0 / 281.2 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.009143, allocations: 7.938 kB / 281.2 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.969e-05/0.009233, allocations: 203.5 kB / 281.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.47e-05/0.009298, allocations: 55.75 kB / 281.5 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.009331, allocations: 20.02 kB / 281.5 MB, free: 11.61 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.979e-05/0.00939, allocations: 8 kB / 281.5 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.009416, allocations: 7.875 kB / 281.5 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.00943, allocations: 15.98 kB / 281.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.708e-05/0.009487, allocations: 156.2 kB / 281.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009487, allocations: 0 / 281.7 MB, free: 11.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001966/0.009684, allocations: 40 kB / 281.7 MB, free: 11.39 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: 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 9.815e-05/0.009782, allocations: 115.6 kB / 281.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001702/0.009952, allocations: 145 kB / 282 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.009953, allocations: 0 / 282 MB, free: 11.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/0.009966, allocations: 11.62 kB / 282 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003749/0.01034, allocations: 152.2 kB / 282.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008209/0.01116, allocations: 467.6 kB / 282.6 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.858e-05/0.01124, allocations: 120.8 kB / 282.7 MB, free: 10.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.179e-05/0.01127, allocations: 13.94 kB / 282.7 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.647e-05/0.01137, allocations: 102.2 kB / 282.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01137, allocations: 0 / 282.8 MB, free: 10.2 MB / 266.7 MB Notification: Performance of Templates: time 0.004658/0.01603, allocations: 2.692 MB / 285.5 MB, free: 7.562 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.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.8076508259400725]