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.001355/0.001355, allocations: 107.5 kB / 20.44 MB, free: 1.188 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.001353/0.001353, allocations: 194 kB / 23.71 MB, free: 4.406 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.356/1.356, allocations: 225.7 MB / 252.5 MB, free: 12.8 MB / 206.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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 43.92 kB / 370.4 MB, free: 9.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2457, allocations: 52.18 MB / 422.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2): time 0.003163/0.2489, allocations: 1.746 MB / 424.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.25, allocations: 0.561 MB / 424.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.2501, allocations: 11.88 kB / 424.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.2503, allocations: 27.78 kB / 424.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002047/0.2505, allocations: 31.78 kB / 425 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004237/0.2509, allocations: 127.2 kB / 425.1 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.2512, allocations: 159.6 kB / 425.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2513, allocations: 31.41 kB / 425.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.2515, allocations: 71.7 kB / 425.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002223/0.2517, allocations: 107.6 kB / 425.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.974e-05/0.2517, allocations: 16 kB / 425.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/0.2518, allocations: 16 kB / 425.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.2519, allocations: 63.83 kB / 425.5 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.811e-05/0.252, allocations: 71.58 kB / 425.6 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.2523, allocations: 215 kB / 425.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2523, allocations: 0 / 425.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2523, allocations: 0 / 425.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2523, allocations: 0 / 425.8 MB, free: 11.13 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.0009173/0.2532, allocations: 452 kB / 426.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.2533, allocations: 12.03 kB / 426.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.046e-05/0.2533, allocations: 50.73 kB / 426.3 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.668e-05/0.2534, allocations: 24.8 kB / 426.3 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.2537, allocations: 194.1 kB / 426.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.592e-05/0.2538, allocations: 12.38 kB / 426.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.2538, allocations: 20.31 kB / 426.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.255, allocations: 0.6458 MB / 427.2 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.255, allocations: 3.938 kB / 427.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.065e-05/0.2551, allocations: 4 kB / 427.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.151e-05/0.2551, allocations: 16 kB / 427.2 MB, free: 9.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.2555, allocations: 175.8 kB / 427.4 MB, free: 9.457 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.256, allocations: 321.4 kB / 427.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.2564, allocations: 223.6 kB / 427.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002721/0.2567, allocations: 150.6 kB / 428.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.993e-05/0.2567, allocations: 4.5 kB / 428.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2568, allocations: 38.56 kB / 428.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.824e-06/0.2568, allocations: 3.938 kB / 428.1 MB, free: 8.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.0008581/0.2576, allocations: 422.2 kB / 428.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.2577, allocations: 142.9 kB / 428.7 MB, free: 8.055 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.2579, allocations: 166.6 kB / 428.8 MB, free: 7.883 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.2579, allocations: 33.7 kB / 428.9 MB, free: 7.844 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.852e-05/0.258, allocations: 101.1 kB / 429 MB, free: 7.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/0.2581, allocations: 43.78 kB / 429 MB, free: 7.699 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.2582, allocations: 74.12 kB / 429.1 MB, free: 7.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.2584, allocations: 334.8 kB / 429.4 MB, free: 7.285 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2585, allocations: 80.81 kB / 429.5 MB, free: 7.207 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.2588, allocations: 318.7 kB / 429.8 MB, free: 6.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.2594, allocations: 416.8 kB / 430.2 MB, free: 6.246 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.2594, allocations: 4 kB / 430.2 MB, free: 6.242 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006123/0.26, allocations: 409.7 kB / 430.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.26, allocations: 8 kB / 430.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.26, allocations: 12.09 kB / 430.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.26, allocations: 12 kB / 430.7 MB, free: 5.805 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.2603, allocations: 83.83 kB / 430.7 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/0.2603, allocations: 15.94 kB / 430.7 MB, free: 5.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.2605, allocations: 31.83 kB / 430.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.79e-05/0.2605, allocations: 24 kB / 430.8 MB, free: 5.652 MB / 334.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.0001887/0.2607, allocations: 183.6 kB / 431 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005089/0.2612, allocations: 293.4 kB / 431.3 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.001e-05/0.2613, allocations: 38.66 kB / 431.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.2613, allocations: 8 kB / 431.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.2613, allocations: 0 / 431.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2613, allocations: 7.969 kB / 431.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.2615, allocations: 192.5 kB / 431.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.2615, allocations: 0 / 431.5 MB, free: 4.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002501/0.2618, allocations: 59.91 kB / 431.6 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.35e-05/0.2618, allocations: 4 kB / 431.6 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/0.2618, allocations: 11.98 kB / 431.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2618, allocations: 0 / 431.6 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2618, allocations: 3.938 kB / 431.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.2625, allocations: 456.9 kB / 432 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2626, allocations: 59.69 kB / 432.1 MB, free: 4.285 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.2626, allocations: 16 kB / 432.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.2628, allocations: 11.98 kB / 432.1 MB, free: 4.258 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.2628, allocations: 4 kB / 432.1 MB, free: 4.254 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.2628, allocations: 19.98 kB / 432.1 MB, free: 4.234 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.2629, allocations: 131.2 kB / 432.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2629, allocations: 0 / 432.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003706/0.2633, allocations: 48 kB / 432.3 MB, free: 4.059 MB / 334.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.001392/0.2647, allocations: 1.18 MB / 433.5 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.2652, allocations: 281.7 kB / 433.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2652, allocations: 0 / 433.8 MB, free: 2.566 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.637e-05/0.2653, allocations: 8 kB / 433.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006534/0.2659, allocations: 191.8 kB / 434 MB, free: 2.371 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/0.2697, allocations: 2.959 MB / 436.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.2699, allocations: 169.9 kB / 437.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.951e-05/0.2699, allocations: 22.3 kB / 437.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/0.27, allocations: 67.41 kB / 437.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.27, allocations: 0 / 437.2 MB, free: 14.81 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03219/0.3022, allocations: 5.775 MB / 443 MB, free: 9.219 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.96, allocations: 11.92 kB / 443 MB, free: 9.207 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2_fmu --startTime=0 --stopTime=0.06 --stepSize=1.1957e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_UpSample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.UpSample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/UpSample2/UpSample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.280344126280397]