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.001991/0.001991, allocations: 77.7 kB / 21.25 MB, free: 0.5469 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.002545/0.002545, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.538/1.538, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.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.001872/0.001872, allocations: 66.47 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1127, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003164/0.1159, allocations: 1.756 MB / 380.7 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1172, allocations: 0.6427 MB / 381.3 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.933e-05/0.1173, allocations: 7.938 kB / 381.3 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.1174, allocations: 19.8 kB / 381.3 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1176, allocations: 47.7 kB / 381.4 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.1181, allocations: 131.7 kB / 381.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.1183, allocations: 159.6 kB / 381.7 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1184, allocations: 25.73 kB / 381.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.1186, allocations: 79.75 kB / 381.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.1188, allocations: 107.6 kB / 381.9 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.1188, allocations: 19.94 kB / 381.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.1189, allocations: 20 kB / 381.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.151e-05/0.119, allocations: 63.75 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1191, allocations: 71.58 kB / 382.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.1194, allocations: 219.1 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1194, allocations: 0 / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1194, allocations: 3.938 kB / 382.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.612e-06/0.1194, allocations: 0 / 382.3 MB, free: 12.1 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.0008768/0.1203, allocations: 445.3 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1203, allocations: 15.98 kB / 382.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001698/0.1205, allocations: 36.73 kB / 382.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.1208, allocations: 190.1 kB / 382.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.1208, allocations: 16.38 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.216e-05/0.1209, allocations: 20.38 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.122, allocations: 0.6315 MB / 383.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.122, allocations: 0 / 383.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.122, allocations: 4 kB / 383.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.044e-05/0.122, allocations: 16 kB / 383.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003985/0.1224, allocations: 187.8 kB / 383.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.1229, allocations: 270.1 kB / 384.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004694/0.1233, allocations: 231.5 kB / 384.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002637/0.1236, allocations: 142.5 kB / 384.4 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.866e-05/0.1236, allocations: 15.92 kB / 384.5 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.1237, allocations: 42.56 kB / 384.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.643e-06/0.1237, allocations: 0 / 384.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.000866/0.1245, allocations: 430 kB / 384.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.1247, allocations: 142.6 kB / 385.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1248, allocations: 170.4 kB / 385.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.1249, allocations: 33.7 kB / 385.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.1249, allocations: 101.1 kB / 385.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.125, allocations: 47.73 kB / 385.4 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.1251, allocations: 66.2 kB / 385.5 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.1253, allocations: 338.8 kB / 385.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.1254, allocations: 76.94 kB / 385.9 MB, free: 8.277 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003513/0.1257, allocations: 323.4 kB / 386.2 MB, free: 7.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.1262, allocations: 413 kB / 386.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1262, allocations: 4 kB / 386.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006342/0.1269, allocations: 405.5 kB / 387 MB, free: 6.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.1269, allocations: 8.219 kB / 387 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.1269, allocations: 12 kB / 387 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.1269, allocations: 12 kB / 387 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002485/0.1272, allocations: 91.77 kB / 387.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/0.1272, allocations: 12 kB / 387.1 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1274, allocations: 39.72 kB / 387.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.1274, allocations: 24 kB / 387.2 MB, free: 6.711 MB / 350.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.0002028/0.1276, allocations: 178.7 kB / 387.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005509/0.1281, allocations: 293.4 kB / 387.7 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.744e-05/0.1282, allocations: 38.66 kB / 387.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1282, allocations: 11.88 kB / 387.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1282, allocations: 4 kB / 387.7 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.1282, allocations: 7.922 kB / 387.7 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1284, allocations: 149.1 kB / 387.9 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.1284, allocations: 7.938 kB / 387.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.1287, allocations: 59.91 kB / 387.9 MB, free: 5.926 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1287, allocations: 4 kB / 387.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.1287, allocations: 11.98 kB / 387.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1287, allocations: 0 / 387.9 MB, free: 5.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1287, allocations: 8 kB / 387.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006425/0.1294, allocations: 437.1 kB / 388.4 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.1295, allocations: 59.62 kB / 388.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.574e-05/0.1296, allocations: 16 kB / 388.4 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.1297, allocations: 15.98 kB / 388.5 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.1297, allocations: 4 kB / 388.5 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.1298, allocations: 15.92 kB / 388.5 MB, free: 5.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001622/0.1299, allocations: 127.2 kB / 388.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1299, allocations: 0 / 388.6 MB, free: 5.223 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003788/0.1303, allocations: 48 kB / 388.7 MB, free: 5.176 MB / 350.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.0001467/0.1304, allocations: 129.8 kB / 388.8 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005735/0.131, allocations: 285.7 kB / 389.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.131, allocations: 0 / 389.1 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/0.1311, allocations: 4 kB / 389.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000712/0.1318, allocations: 212.2 kB / 389.3 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1331, allocations: 0.5367 MB / 389.8 MB, free: 3.984 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002065/0.1333, allocations: 178 kB / 390 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.723e-05/0.1334, allocations: 22.28 kB / 390 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.451e-05/0.1335, allocations: 24.5 kB / 390 MB, free: 3.746 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1335, allocations: 4 kB / 390 MB, free: 3.742 MB / 350.1 MB Notification: Performance of Templates: time 0.007684/0.1412, allocations: 2.829 MB / 392.9 MB, free: 0.9492 MB / 350.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.688534164917655]