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.001668/0.001668, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001782/0.001782, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.523/1.523, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.002001/0.002001, allocations: 72.03 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2722, allocations: 53.4 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003728/0.276, allocations: 1.748 MB / 432.9 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.2775, allocations: 0.6427 MB / 433.5 MB, free: 4.215 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.2776, allocations: 7.938 kB / 433.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001884/0.2778, allocations: 19.8 kB / 433.6 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002268/0.278, allocations: 47.72 kB / 433.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.2785, allocations: 135.7 kB / 433.7 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002482/0.2787, allocations: 167.5 kB / 433.9 MB, free: 3.844 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.2788, allocations: 23.42 kB / 433.9 MB, free: 3.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.279, allocations: 79.75 kB / 434 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001979/0.2792, allocations: 103.6 kB / 434.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.509e-05/0.2793, allocations: 16 kB / 434.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.142e-05/0.2793, allocations: 23.98 kB / 434.2 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.2794, allocations: 59.83 kB / 434.2 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.2795, allocations: 71.58 kB / 434.3 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002984/0.2798, allocations: 223 kB / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.2798, allocations: 0 / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2798, allocations: 0 / 434.5 MB, free: 3.254 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.179e-06/0.2798, allocations: 3.938 kB / 434.5 MB, free: 3.25 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.0008934/0.2807, allocations: 437.3 kB / 434.9 MB, free: 2.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.2807, allocations: 19.98 kB / 434.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.731e-05/0.2808, allocations: 54.67 kB / 435 MB, free: 2.711 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00017/0.281, allocations: 40.73 kB / 435 MB, free: 2.672 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.2813, allocations: 194.1 kB / 435.2 MB, free: 2.457 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.2814, allocations: 12.38 kB / 435.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.2814, allocations: 20.38 kB / 435.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.2826, allocations: 0.634 MB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.2826, allocations: 4 kB / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.2826, allocations: 4 kB / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.2826, allocations: 11.98 kB / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.2831, allocations: 187.8 kB / 436.1 MB, free: 1.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.2836, allocations: 309.5 kB / 436.4 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005002/0.2841, allocations: 227.1 kB / 436.6 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.2843, allocations: 147.3 kB / 436.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.141e-05/0.2844, allocations: 4 kB / 436.8 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.2844, allocations: 38.56 kB / 436.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.933e-06/0.2844, allocations: 0 / 436.8 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0009466/0.2854, allocations: 425.9 kB / 437.2 MB, free: 356 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.2855, allocations: 142.7 kB / 437.4 MB, free: 188 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.2857, allocations: 178.6 kB / 437.5 MB, free: 0 / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.798e-05/0.2858, allocations: 29.7 kB / 437.6 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.2859, allocations: 97.14 kB / 437.7 MB, free: 15.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.781e-05/0.2859, allocations: 55.67 kB / 437.7 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.286, allocations: 74.06 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.2862, allocations: 338.8 kB / 438.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001449/0.2864, allocations: 72.83 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003936/0.2868, allocations: 318.7 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.2873, allocations: 420.9 kB / 438.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2873, allocations: 4 kB / 438.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006196/0.2879, allocations: 396.8 kB / 439.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.288, allocations: 16.98 kB / 439.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.288, allocations: 8 kB / 439.3 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.637e-05/0.288, allocations: 19.94 kB / 439.3 MB, free: 13.92 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.2883, allocations: 83.84 kB / 439.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.168e-05/0.2883, allocations: 19.92 kB / 439.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.2884, allocations: 35.84 kB / 439.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.2885, allocations: 20 kB / 439.5 MB, free: 13.76 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.0002077/0.2887, allocations: 190.9 kB / 439.7 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005401/0.2892, allocations: 297.4 kB / 440 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.218e-05/0.2893, allocations: 34.64 kB / 440 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.2893, allocations: 4 kB / 440 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.2893, allocations: 7.984 kB / 440 MB, free: 13.22 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.2893, allocations: 4 kB / 440 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002414/0.2896, allocations: 192.5 kB / 440.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2896, allocations: 0 / 440.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002639/0.2898, allocations: 67.89 kB / 440.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.2898, allocations: 0 / 440.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.2899, allocations: 8 kB / 440.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/0.2899, allocations: 7.984 kB / 440.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2899, allocations: 0 / 440.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007456/0.2906, allocations: 448.9 kB / 440.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.2908, allocations: 51.77 kB / 440.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.261e-05/0.2908, allocations: 15.98 kB / 440.8 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.2909, allocations: 16 kB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.291, allocations: 3.984 kB / 440.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.291, allocations: 11.94 kB / 440.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000126/0.2911, allocations: 131.2 kB / 441 MB, free: 12.22 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2911, allocations: 0 / 441 MB, free: 12.22 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.2915, allocations: 52 kB / 441 MB, free: 12.17 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.001342/0.2928, allocations: 1.172 MB / 442.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006156/0.2935, allocations: 282.5 kB / 442.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2935, allocations: 4.062 kB / 442.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.2935, allocations: 7.984 kB / 442.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007227/0.2942, allocations: 210.5 kB / 442.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003982/0.2982, allocations: 2.954 MB / 445.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001684/0.2984, allocations: 177.9 kB / 445.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.596e-05/0.2984, allocations: 22.3 kB / 445.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.2986, allocations: 71.41 kB / 445.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2986, allocations: 0 / 445.9 MB, free: 6.898 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03448/0.3331, allocations: 5.797 MB / 451.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.4, allocations: 7.422 kB / 451.7 MB, free: 1.258 MB / 350.1 MB " [Timeout remaining time 648] (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.929147442802787]