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.001329/0.001329, allocations: 111.9 kB / 19.17 MB, free: 3.758 MB / 14.72 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.00136/0.00136, allocations: 212.9 kB / 22.13 MB, free: 0.8047 MB / 14.72 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.49/1.49, allocations: 230.2 MB / 255.2 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001923/0.001923, allocations: 63.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 53.32 MB / 427.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003516/0.1186, allocations: 1.774 MB / 429.6 MB, free: 2.703 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001475/0.12, allocations: 0.6856 MB / 430.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.1202, allocations: 11.88 kB / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1203, allocations: 19.8 kB / 430.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000243/0.1206, allocations: 43.7 kB / 430.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.1211, allocations: 135.6 kB / 430.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1213, allocations: 151.7 kB / 430.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1215, allocations: 25.53 kB / 430.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1217, allocations: 83.69 kB / 430.8 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000274/0.1219, allocations: 111.6 kB / 430.9 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.809e-05/0.122, allocations: 12 kB / 430.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.6e-05/0.122, allocations: 20 kB / 430.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.1221, allocations: 63.81 kB / 431 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1223, allocations: 87.45 kB / 431.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.1226, allocations: 219 kB / 431.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1226, allocations: 0 / 431.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1226, allocations: 4 kB / 431.3 MB, free: 1.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.1226, allocations: 0 / 431.3 MB, free: 1.039 MB / 350.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.000991/0.1236, allocations: 0.5178 MB / 431.8 MB, free: 484 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1236, allocations: 8.031 kB / 431.8 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001924/0.1238, allocations: 40.73 kB / 431.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000347/0.1242, allocations: 252 kB / 432.1 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.237e-05/0.1242, allocations: 16.38 kB / 432.1 MB, free: 128 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.899e-05/0.1243, allocations: 20.36 kB / 432.1 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001223/0.1255, allocations: 0.6303 MB / 432.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.1255, allocations: 0 / 432.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.1255, allocations: 8 kB / 432.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.913e-05/0.1256, allocations: 15.98 kB / 432.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004834/0.126, allocations: 183.8 kB / 433 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006034/0.1267, allocations: 374.3 kB / 433.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.1272, allocations: 219.6 kB / 433.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.1274, allocations: 146.8 kB / 433.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.039e-05/0.1275, allocations: 15.97 kB / 433.7 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.1275, allocations: 34.56 kB / 433.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 1.953e-06/0.1275, allocations: 0 / 433.7 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.001034/0.1286, allocations: 429.8 kB / 434.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001541/0.1287, allocations: 138.8 kB / 434.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.1289, allocations: 170.4 kB / 434.5 MB, free: 13.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.521e-05/0.129, allocations: 29.7 kB / 434.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.914e-05/0.1291, allocations: 101.1 kB / 434.6 MB, free: 13.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.893e-05/0.1291, allocations: 59.66 kB / 434.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.928e-05/0.1292, allocations: 66.14 kB / 434.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.1294, allocations: 334.8 kB / 435 MB, free: 13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.1296, allocations: 80.81 kB / 435.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000374/0.13, allocations: 314.7 kB / 435.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.1305, allocations: 420.9 kB / 435.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.1305, allocations: 4 kB / 435.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000654/0.1311, allocations: 413.7 kB / 436.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.1312, allocations: 8 kB / 436.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.1312, allocations: 8 kB / 436.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/0.1312, allocations: 16.03 kB / 436.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002749/0.1315, allocations: 91.83 kB / 436.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.1315, allocations: 15.94 kB / 436.4 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1317, allocations: 31.84 kB / 436.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.1317, allocations: 20 kB / 436.4 MB, free: 11.37 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 13 ($CLKPRE.superSampleIpo.ticks,superSampleIpo.ticks,superSampleIpo.usedFactor,$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 (52): * Single equations (assignments): 52 * 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.0002584/0.132, allocations: 189.5 kB / 436.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005545/0.1325, allocations: 298.3 kB / 436.9 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.147e-05/0.1326, allocations: 38.66 kB / 436.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.1326, allocations: 4 kB / 436.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.1326, allocations: 0 / 436.9 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.1326, allocations: 7.984 kB / 436.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.1329, allocations: 245.3 kB / 437.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1329, allocations: 0 / 437.2 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002814/0.1332, allocations: 67.89 kB / 437.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1332, allocations: 0 / 437.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.1332, allocations: 8 kB / 437.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.1332, allocations: 7.984 kB / 437.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1332, allocations: 0 / 437.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006874/0.1339, allocations: 439.8 kB / 437.7 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.1341, allocations: 128.9 kB / 437.8 MB, free: 9.863 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.1341, allocations: 19.98 kB / 437.8 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1343, allocations: 11.98 kB / 437.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.661e-05/0.1343, allocations: 8 kB / 437.9 MB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.1343, allocations: 12 kB / 437.9 MB, free: 9.812 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1345, allocations: 132.3 kB / 438 MB, free: 9.684 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1345, allocations: 0 / 438 MB, free: 9.684 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004411/0.1349, allocations: 48 kB / 438.1 MB, free: 9.637 MB / 366.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.0001709/0.1351, allocations: 120.9 kB / 438.2 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000593/0.1357, allocations: 281.5 kB / 438.4 MB, free: 9.234 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1357, allocations: 3.938 kB / 438.4 MB, free: 9.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.426e-05/0.1357, allocations: 11.98 kB / 438.5 MB, free: 9.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.1365, allocations: 217.2 kB / 438.7 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.1379, allocations: 0.5865 MB / 439.3 MB, free: 8.387 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004352/0.1384, allocations: 0.7761 MB / 440 MB, free: 7.582 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.648e-05/0.1385, allocations: 27.44 kB / 440.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1385, allocations: 0 / 440.1 MB, free: 7.555 MB / 366.1 MB Notification: Performance of Templates: time 0.006015/0.1445, allocations: 3.007 MB / 443.1 MB, free: 4.566 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.5500872728880495]