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.001545/0.001545, allocations: 120.5 kB / 18.46 MB, free: 4.617 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.001607/0.001607, allocations: 194.6 kB / 21.4 MB, free: 1.684 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.406/1.406, allocations: 225.6 MB / 249.8 MB, free: 3.625 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 0.001487/0.001487, allocations: 47.92 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1092, allocations: 52.14 MB / 419 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003017/0.1122, allocations: 1.767 MB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1133, allocations: 0.6271 MB / 421.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.1134, allocations: 7.938 kB / 421.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.1136, allocations: 19.8 kB / 421.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1138, allocations: 35.72 kB / 421.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003768/0.1141, allocations: 119.7 kB / 421.5 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1143, allocations: 159.6 kB / 421.7 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1144, allocations: 21.55 kB / 421.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.1146, allocations: 71.77 kB / 421.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002271/0.1148, allocations: 111.6 kB / 421.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.1148, allocations: 12 kB / 421.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.06e-05/0.1149, allocations: 16 kB / 421.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.678e-05/0.1149, allocations: 63.81 kB / 422 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.1151, allocations: 91.39 kB / 422.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1153, allocations: 219 kB / 422.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1153, allocations: 0 / 422.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1153, allocations: 4 kB / 422.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1153, allocations: 0 / 422.3 MB, free: 8.773 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.0008288/0.1162, allocations: 0.5063 MB / 422.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.1162, allocations: 11.89 kB / 422.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.977e-05/0.1163, allocations: 24.8 kB / 422.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.1166, allocations: 263.9 kB / 423.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.728e-05/0.1166, allocations: 24.27 kB / 423.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.1166, allocations: 16.38 kB / 423.1 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.1178, allocations: 0.6264 MB / 423.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.1178, allocations: 0 / 423.7 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.1178, allocations: 8 kB / 423.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.675e-05/0.1178, allocations: 11.98 kB / 423.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004124/0.1182, allocations: 191.7 kB / 424 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.1187, allocations: 366.4 kB / 424.3 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004928/0.1192, allocations: 227.6 kB / 424.5 MB, free: 6.324 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.1195, allocations: 139.1 kB / 424.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.1195, allocations: 16 kB / 424.7 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/0.1196, allocations: 38.5 kB / 424.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.383e-06/0.1196, allocations: 0 / 424.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009321/0.1205, allocations: 421.4 kB / 425.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001909/0.1207, allocations: 143.8 kB / 425.3 MB, free: 5.535 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.1208, allocations: 174.4 kB / 425.4 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.1209, allocations: 29.7 kB / 425.5 MB, free: 5.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.121, allocations: 105.1 kB / 425.6 MB, free: 5.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.795e-05/0.1211, allocations: 43.72 kB / 425.6 MB, free: 5.168 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/0.1212, allocations: 74.12 kB / 425.7 MB, free: 5.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1214, allocations: 334.8 kB / 426 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.1215, allocations: 76.75 kB / 426.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000352/0.1219, allocations: 322.7 kB / 426.4 MB, free: 4.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005209/0.1224, allocations: 412.9 kB / 426.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.1224, allocations: 4 kB / 426.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006626/0.123, allocations: 408.8 kB / 427.2 MB, free: 3.312 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.1231, allocations: 12.94 kB / 427.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1231, allocations: 8 kB / 427.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.464e-05/0.1231, allocations: 12 kB / 427.2 MB, free: 3.281 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.1234, allocations: 87.83 kB / 427.3 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.1234, allocations: 15.94 kB / 427.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.1235, allocations: 27.83 kB / 427.4 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.1236, allocations: 28 kB / 427.4 MB, free: 3.125 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.000204/0.1238, allocations: 182.2 kB / 427.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005363/0.1243, allocations: 293.4 kB / 427.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.379e-05/0.1244, allocations: 34.66 kB / 427.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.1244, allocations: 8 kB / 427.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.1244, allocations: 0 / 427.9 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1244, allocations: 3.984 kB / 427.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.1247, allocations: 253.3 kB / 428.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1247, allocations: 0 / 428.2 MB, free: 2.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.125, allocations: 63.89 kB / 428.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.125, allocations: 4 kB / 428.2 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.365e-05/0.125, allocations: 12 kB / 428.2 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.125, allocations: 3.984 kB / 428.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.125, allocations: 4.328 kB / 428.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006553/0.1257, allocations: 443.8 kB / 428.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.1258, allocations: 128.8 kB / 428.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.1259, allocations: 23.92 kB / 428.8 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.126, allocations: 27.92 kB / 428.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1261, allocations: 0 / 428.9 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.1261, allocations: 16 kB / 428.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1262, allocations: 132.5 kB / 429 MB, free: 1.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1262, allocations: 0 / 429 MB, free: 1.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003941/0.1266, allocations: 48 kB / 429.1 MB, free: 1.379 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.0001807/0.1268, allocations: 119.2 kB / 429.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005609/0.1273, allocations: 291.9 kB / 429.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1273, allocations: 1.938 kB / 429.5 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.1274, allocations: 7.984 kB / 429.5 MB, free: 0.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.1281, allocations: 203.7 kB / 429.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.1294, allocations: 0.5746 MB / 430.2 MB, free: 148 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.1299, allocations: 0.7799 MB / 431 MB, free: 15.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.762e-05/0.13, allocations: 31.42 kB / 431 MB, free: 15.3 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.13, allocations: 4 kB / 431 MB, free: 15.3 MB / 366.1 MB Notification: Performance of Templates: time 0.005663/0.1356, allocations: 2.979 MB / 434 MB, free: 12.34 MB / 366.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.0617479821667075]