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.001309/0.001309, allocations: 112.7 kB / 20.43 MB, free: 1.453 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.00168/0.00168, allocations: 214 kB / 23.74 MB, free: 4.66 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.402/1.402, allocations: 230.5 MB / 257.4 MB, free: 8.008 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002993/0.002993, allocations: 67.83 kB / 377.8 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2713, allocations: 53.41 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003278/0.2746, allocations: 1.789 MB / 433 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001313/0.2759, allocations: 0.6855 MB / 433.7 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.276, allocations: 7.938 kB / 433.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.2762, allocations: 23.8 kB / 433.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.2764, allocations: 43.7 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.2768, allocations: 143.6 kB / 433.9 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.2771, allocations: 159.5 kB / 434 MB, free: 3.848 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2772, allocations: 25.67 kB / 434.1 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.2774, allocations: 75.75 kB / 434.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.2776, allocations: 115.6 kB / 434.3 MB, free: 3.633 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.454e-05/0.2776, allocations: 16 kB / 434.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.001e-05/0.2777, allocations: 27.94 kB / 434.3 MB, free: 3.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.268e-05/0.2778, allocations: 59.81 kB / 434.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.29e-05/0.2779, allocations: 95.39 kB / 434.4 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.2781, allocations: 215.5 kB / 434.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2781, allocations: 0 / 434.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2782, allocations: 0 / 434.7 MB, free: 3.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.2782, allocations: 4 kB / 434.7 MB, free: 3.227 MB / 334.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.0008675/0.279, allocations: 449.2 kB / 435.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2791, allocations: 12.03 kB / 435.1 MB, free: 2.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.2791, allocations: 50.73 kB / 435.2 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/0.2793, allocations: 36.73 kB / 435.2 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003093/0.2796, allocations: 194 kB / 435.4 MB, free: 2.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.907e-05/0.2796, allocations: 20.38 kB / 435.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.2797, allocations: 24.36 kB / 435.4 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.2808, allocations: 0.6223 MB / 436.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.2808, allocations: 4 kB / 436.1 MB, free: 1.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.2808, allocations: 8 kB / 436.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.2808, allocations: 8 kB / 436.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003979/0.2812, allocations: 187.8 kB / 436.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.2817, allocations: 337.4 kB / 436.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004674/0.2822, allocations: 227.6 kB / 436.8 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.2824, allocations: 147.5 kB / 437 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.2825, allocations: 7.984 kB / 437 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.2825, allocations: 38.56 kB / 437 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.723e-06/0.2825, allocations: 0 / 437 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008957/0.2834, allocations: 425.8 kB / 437.4 MB, free: 300 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.2835, allocations: 146.6 kB / 437.6 MB, free: 128 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.2837, allocations: 170.5 kB / 437.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.2837, allocations: 33.7 kB / 437.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.842e-05/0.2838, allocations: 101.3 kB / 437.9 MB, free: 15.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.2839, allocations: 51.58 kB / 437.9 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.791e-05/0.284, allocations: 74.12 kB / 438 MB, free: 15.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2841, allocations: 342.8 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.2843, allocations: 68.83 kB / 438.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003228/0.2846, allocations: 322.7 kB / 438.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.285, allocations: 416.9 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.285, allocations: 4 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005903/0.2856, allocations: 401.3 kB / 439.5 MB, free: 13.9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2857, allocations: 15.92 kB / 439.5 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.2857, allocations: 8 kB / 439.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.2857, allocations: 12 kB / 439.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.2859, allocations: 87.78 kB / 439.6 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.286, allocations: 19.92 kB / 439.6 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.2861, allocations: 32.34 kB / 439.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.2861, allocations: 24 kB / 439.7 MB, free: 13.71 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.0001842/0.2863, allocations: 190 kB / 439.9 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/0.2868, allocations: 289.4 kB / 440.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.051e-05/0.2869, allocations: 38.58 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2869, allocations: 4 kB / 440.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.2869, allocations: 4 kB / 440.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.2869, allocations: 0 / 440.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.2872, allocations: 228.4 kB / 440.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2872, allocations: 0 / 440.4 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/0.2874, allocations: 67.91 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.2874, allocations: 4 kB / 440.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.2875, allocations: 7.984 kB / 440.5 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2875, allocations: 7.938 kB / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2875, allocations: 0 / 440.5 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.2881, allocations: 445 kB / 440.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.2882, allocations: 51.77 kB / 441 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.2883, allocations: 15.98 kB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.2884, allocations: 15.98 kB / 441 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.2884, allocations: 3.938 kB / 441 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-05/0.2885, allocations: 12 kB / 441 MB, free: 12.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.2886, allocations: 127.2 kB / 441.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2886, allocations: 0 / 441.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003875/0.289, allocations: 56 kB / 441.2 MB, free: 12.09 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.001356/0.2903, allocations: 1.181 MB / 442.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005251/0.2908, allocations: 274.5 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2908, allocations: 3.938 kB / 442.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.2909, allocations: 16.06 kB / 442.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.2916, allocations: 207 kB / 442.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.2955, allocations: 2.97 MB / 445.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.2959, allocations: 0.7799 MB / 446.6 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.296, allocations: 26.28 kB / 446.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.2961, allocations: 67.41 kB / 446.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of SimCode: time 8.11e-07/0.2961, allocations: 3.938 kB / 446.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03496/0.3311, allocations: 5.578 MB / 452.3 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.26, allocations: 17.67 kB / 452.3 MB, free: 0.7344 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] 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: 13.66389366495423]